#CEC488#CEC488

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

Color values

HEX#CEC488
RGBrgb(206, 196, 136)
HSLhsl(51, 42%, 67%)
HSVhsv(51, 34%, 81%)
CMYKcmyk(0%, 4.9%, 34%, 19.2%)
CIE-LABlab(78.68, -5.47, 31.44)
CIE-LCHlch(78.68, 31.91, 99.86°)
OKLaboklab(81.43% -0.0136 0.0781)
OKLCHoklch(81.43% 0.079 99.9)
XYZxyz(49.6381, 54.3805, 31.1694)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC488 #8892CE
analogous
#CEA188 #CEC488 #B5CE88
triadic
#CEC488 #88CEC4 #C488CE
tetradic
#CEC488 #88CEA1 #8892CE #CE88B5
square
#CEC488 #88CEA1 #8892CE #CE88B5
split-complementary
#CEC488 #88B5CE #A188CE
monochromatic
#9C8E40 #BCAF5D #CEC488 #E0D9B3 #F2EFDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC488#FFFFFF#000000##000000
##CEC4881.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)
#CFC084
Deuteranopia (green-blind)
#D2C58A
Tritanopia (blue-blind)
#D8BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec488;
/* rgb */ color: rgb(206, 196, 136);
/* oklch */ color: oklch(81.4% 0.079 99.9);
Tailwind
colors: {
  custom: {
    50: '#ded5ab',
    500: '#cec488',
    950: '#000000',
  },
}
SCSS
$custom: #cec488;
$custom-light: #ded5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec488",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 136
  },
  "hsl": {
    "h": 51.429,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.07923,
    "h": 99.9
  },
  "luminance": 0.54379
}

Semantic roles & 50–950 ramp

primary
#CEC488
secondary
#5963A2
accent
#44B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC488

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

Preview Lab → · Contrast checker → · Palette generator →

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