#CEB227

#ceb227 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ceb227 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 69.8% green and 15.29% blue; printed in CMYK it uses 0% cyan, 13.59% magenta, 81.07% yellow and 19.22% black. Its hue angle is 49.94°, with 68.16% saturation and 48.04% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 10.02:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #ceb227 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9933
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4511

Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #beb390 ≈ 0.001% of males
Protanopia #c5ae00 ≈ 1.01% of males
Deuteranopia #ccb732 ≈ 1.27% of males
Tritanopia #dfa499 ≈ 0.0001% of males
Protanomaly #c9b013 ≈ 1.08% of males
Deuteranomaly #cdb52e ≈ 4.63% of males
Tritanomaly #d8aa7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ceb227 {
  color: #ceb227;
}
Background
.bg-ceb227 {
  background-color: #ceb227;
  color: #000000;
}
Border
.border-ceb227 {
  border: 2px solid #ceb227;
}
CSS variables
:root {
  --color-primary: #ceb227;
  --color-primary-rgb: 206 178 39;
  --color-primary-hsl: 50 68% 48%;
}
Gradient
.gradient-ceb227 {
  background: linear-gradient(135deg, #ceb227, #97ce27);
}
Colored shadow
.shadow-ceb227 {
  box-shadow: 0 8px 24px rgb(206 178 39 / 0.35);
}

Old Gold
#ceb227  rgb(206, 178, 39)  hsl(50, 68%, 48%)  Old Gold
#2743ce  rgb(39, 67, 206)  hsl(230, 68%, 48%)  Persian Blue
#27ceb2  rgb(39, 206, 178)  hsl(170, 68%, 48%)  Medium Aquamarine
#b227ce  rgb(178, 39, 206)  hsl(290, 68%, 48%)  Dark Orchid