#CEC588#CEC588

#CEC588 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.080 H 100.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CEC588
RGBrgb(206, 197, 136)
HSLhsl(52, 42%, 67%)
HSVhsv(52, 34%, 81%)
CMYKcmyk(0%, 4.4%, 34%, 19.2%)
CIE-LABlab(78.94, -5.98, 31.78)
CIE-LCHlch(78.94, 32.34, 100.66°)
OKLaboklab(81.64% -0.0151 0.0789)
OKLCHoklch(81.64% 0.08 100.8)
XYZxyz(49.8644, 54.8331, 31.2449)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC588 #8891CE
analogous
#CEA288 #CEC588 #B4CE88
triadic
#CEC588 #88CEC5 #C588CE
tetradic
#CEC588 #88CEA2 #8891CE #CE88B4
square
#CEC588 #88CEA2 #8891CE #CE88B4
split-complementary
#CEC588 #88B4CE #A288CE
monochromatic
#9C9040 #BCB05D #CEC588 #E0DAB3 #F2EFDF

Accessibility & contrast

On white

1.75
#CEC588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CEC588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC588
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC588#FFFFFF#000000##000000
##CEC5881.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C184
Deuteranopia (green-blind)
#D3C58A
Tritanopia (blue-blind)
#D8BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec588;
/* rgb */ color: rgb(206, 197, 136);
/* oklch */ color: oklch(81.6% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#ded6ab',
    500: '#cec588',
    950: '#000000',
  },
}
SCSS
$custom: #cec588;
$custom-light: #ded6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec588",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 136
  },
  "hsl": {
    "h": 52.286,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81641,
    "c": 0.0803,
    "h": 100.8
  },
  "luminance": 0.54832
}

Semantic roles & 50–950 ramp

primary
#CEC588
secondary
#5962A2
accent
#42B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC588

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

Preview Lab → · Contrast checker → · Palette generator →

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