#CEC489#CEC489

#CEC489 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.078 H 99.7°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CEC489
RGBrgb(206, 196, 137)
HSLhsl(51, 41%, 67%)
HSVhsv(51, 33%, 81%)
CMYKcmyk(0%, 4.9%, 33.5%, 19.2%)
CIE-LABlab(78.70, -5.34, 30.94)
CIE-LCHlch(78.70, 31.39, 99.80°)
OKLaboklab(81.45% -0.0132 0.0769)
OKLCHoklch(81.45% 0.078 99.7)
XYZxyz(49.7095, 54.4090, 31.5455)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC489 #8993CE
analogous
#CEA189 #CEC489 #B6CE89
triadic
#CEC489 #89CEC4 #C489CE
tetradic
#CEC489 #89CEA1 #8993CE #CE89B6
square
#CEC489 #89CEA1 #8993CE #CE89B6
split-complementary
#CEC489 #89B6CE #A189CE
monochromatic
#9C8F41 #BCAE5E #CEC489 #E0DAB4 #F2EFDF

Accessibility & contrast

On white

1.77
#CEC489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CEC489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC489
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC489#FFFFFF#000000##000000
##CEC4891.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC085
Deuteranopia (green-blind)
#D2C58B
Tritanopia (blue-blind)
#D8BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec489;
/* rgb */ color: rgb(206, 196, 137);
/* oklch */ color: oklch(81.5% 0.078 99.7);
Tailwind
colors: {
  custom: {
    50: '#ded5ac',
    500: '#cec489',
    950: '#000000',
  },
}
SCSS
$custom: #cec489;
$custom-light: #ded5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cec489",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 137
  },
  "hsl": {
    "h": 51.304,
    "s": 41.317,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.07804,
    "h": 99.7
  },
  "luminance": 0.54408
}

Semantic roles & 50–950 ramp

primary
#CEC489
secondary
#5964A2
accent
#44B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC489

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

Preview Lab → · Contrast checker → · Palette generator →

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