#CEC288#CEC288

#CEC288 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.077 H 97.9°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CEC288
RGBrgb(206, 194, 136)
HSLhsl(50, 42%, 67%)
HSVhsv(50, 34%, 81%)
CMYKcmyk(0%, 5.8%, 34%, 19.2%)
CIE-LABlab(78.16, -4.43, 30.74)
CIE-LCHlch(78.16, 31.06, 98.19°)
OKLaboklab(81.02% -0.0106 0.0764)
OKLCHoklch(81.02% 0.077 97.9)
XYZxyz(49.1900, 53.4843, 31.0201)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC288 #8894CE
analogous
#CE9F88 #CEC288 #B7CE88
triadic
#CEC288 #88CEC2 #C288CE
tetradic
#CEC288 #88CE9F #8894CE #CE88B7
square
#CEC288 #88CE9F #8894CE #CE88B7
split-complementary
#CEC288 #88B7CE #9F88CE
monochromatic
#9C8C40 #BCAC5D #CEC288 #E0D8B3 #F2EEDF

Accessibility & contrast

On white

1.80
#CEC288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CEC288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC288
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC288#FFFFFF#000000##000000
##CEC2881.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF84
Deuteranopia (green-blind)
#D1C38A
Tritanopia (blue-blind)
#D8BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec288;
/* rgb */ color: rgb(206, 194, 136);
/* oklch */ color: oklch(81.0% 0.077 97.9);
Tailwind
colors: {
  custom: {
    50: '#ded4ab',
    500: '#cec288',
    950: '#000000',
  },
}
SCSS
$custom: #cec288;
$custom-light: #ded4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec288",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 136
  },
  "hsl": {
    "h": 49.714,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8102,
    "c": 0.07717,
    "h": 97.9
  },
  "luminance": 0.53483
}

Semantic roles & 50–950 ramp

primary
#CEC288
secondary
#5965A2
accent
#47B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC288

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

Preview Lab → · Contrast checker → · Palette generator →

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