#CEBC4A#CEBC4A

#CEBC4A is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.134 H 100.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CEBC4A
RGBrgb(206, 188, 74)
HSLhsl(52, 57%, 55%)
HSVhsv(52, 64%, 81%)
CMYKcmyk(0%, 8.7%, 64.1%, 19.2%)
CIE-LABlab(75.81, -6.99, 58.09)
CIE-LCHlch(75.81, 58.51, 96.86°)
OKLaboklab(78.91% -0.024 0.132)
OKLCHoklch(78.91% 0.134 100.3)
XYZxyz(44.6747, 49.5846, 13.6948)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC4A #4A5CCE
analogous
#CE7A4A #CEBC4A #9ECE4A
triadic
#CEBC4A #4ACEBC #BC4ACE
tetradic
#CEBC4A #4ACE7A #4A5CCE #CE4A9E
square
#CEBC4A #4ACE7A #4A5CCE #CE4A9E
split-complementary
#CEBC4A #4A9ECE #7A4ACE
monochromatic
#7C7022 #AC9B2F #CEBC4A #DBCE7A #E8E0AA

Accessibility & contrast

On white

1.92
#CEBC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CEBC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC4A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC4A#FFFFFF#000000##000000
##CEBC4A1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#DDAFA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc4a;
/* rgb */ color: rgb(206, 188, 74);
/* oklch */ color: oklch(78.9% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0cf82',
    500: '#cebc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cebc4a;
$custom-light: #e0cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc4a",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 51.818,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78911,
    "c": 0.13411,
    "h": 100.3
  },
  "luminance": 0.49583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEBC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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