#CEB74B#CEB74B

#CEB74B is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.129 H 97.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CEB74B
RGBrgb(206, 183, 75)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 11.2%, 63.6%, 19.2%)
CIE-LABlab(74.51, -4.33, 56.26)
CIE-LCHlch(74.51, 56.43, 94.40°)
OKLaboklab(77.88% -0.0163 0.1282)
OKLCHoklch(77.88% 0.129 97.2)
XYZxyz(43.6590, 47.4988, 13.5238)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB74B #4B62CE
analogous
#CE764B #CEB74B #A3CE4B
triadic
#CEB74B #4BCEB7 #B74BCE
tetradic
#CEB74B #4BCE76 #4B62CE #CE4BA3
square
#CEB74B #4BCE76 #4B62CE #CE4BA3
split-complementary
#CEB74B #4BA3CE #764BCE
monochromatic
#7D6D22 #AD972F #CEB74B #DBCA7B #E8DDAB

Accessibility & contrast

On white

2.00
#CEB74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CEB74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB74B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB74B#FFFFFF#000000##000000
##CEB74B1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33E
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#DDAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb74b;
/* rgb */ color: rgb(206, 183, 75);
/* oklch */ color: oklch(77.9% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#e0cc82',
    500: '#ceb74b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb74b;
$custom-light: #e0cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb74b",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 49.466,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.12924,
    "h": 97.2
  },
  "luminance": 0.47497
}

Semantic roles & 50–950 ramp

primary
#CEB74B
secondary
#9FA9D6
accent
#62E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB74B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CEB74B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva