#CEBB4A#CEBB4A

#CEBB4A is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.133 H 99.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CEBB4A
RGBrgb(206, 187, 74)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 64%, 81%)
CMYKcmyk(0%, 9.2%, 64.1%, 19.2%)
CIE-LABlab(75.55, -6.47, 57.81)
CIE-LCHlch(75.55, 58.17, 96.39°)
OKLaboklab(78.7% -0.0225 0.1314)
OKLCHoklch(78.7% 0.133 99.7)
XYZxyz(44.4618, 49.1588, 13.6239)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB4A #4A5DCE
analogous
#CE794A #CEBB4A #9FCE4A
triadic
#CEBB4A #4ACEBB #BB4ACE
tetradic
#CEBB4A #4ACE79 #4A5DCE #CE4A9F
square
#CEBB4A #4ACE79 #4A5DCE #CE4A9F
split-complementary
#CEBB4A #4A9FCE #794ACE
monochromatic
#7C6F22 #AC9A2F #CEBB4A #DBCD7A #E8DFAA

Accessibility & contrast

On white

1.94
#CEBB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CEBB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB4A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB4A#FFFFFF#000000##000000
##CEBB4A1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#DDAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebb4a;
/* rgb */ color: rgb(206, 187, 74);
/* oklch */ color: oklch(78.7% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0cf82',
    500: '#cebb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cebb4a;
$custom-light: #e0cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb4a",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 51.364,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78702,
    "c": 0.13327,
    "h": 99.7
  },
  "luminance": 0.49157
}

Semantic roles & 50–950 ramp

primary
#CEBB4A
secondary
#9EA6D6
accent
#5DE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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