#CEC388#CEC388

#CEC388 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.078 H 98.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CEC388
RGBrgb(206, 195, 136)
HSLhsl(51, 42%, 67%)
HSVhsv(51, 34%, 81%)
CMYKcmyk(0%, 5.3%, 34%, 19.2%)
CIE-LABlab(78.42, -4.95, 31.09)
CIE-LCHlch(78.42, 31.48, 99.04°)
OKLaboklab(81.23% -0.0121 0.0773)
OKLCHoklch(81.23% 0.078 98.9)
XYZxyz(49.4133, 53.9309, 31.0945)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC388 #8893CE
analogous
#CEA088 #CEC388 #B6CE88
triadic
#CEC388 #88CEC3 #C388CE
tetradic
#CEC388 #88CEA0 #8893CE #CE88B6
square
#CEC388 #88CEA0 #8893CE #CE88B6
split-complementary
#CEC388 #88B6CE #A088CE
monochromatic
#9C8D40 #BCAD5D #CEC388 #E0D9B3 #F2EFDF

Accessibility & contrast

On white

1.78
#CEC388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CEC388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC388
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC388#FFFFFF#000000##000000
##CEC3881.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC084
Deuteranopia (green-blind)
#D1C48A
Tritanopia (blue-blind)
#D8BBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec388;
/* rgb */ color: rgb(206, 195, 136);
/* oklch */ color: oklch(81.2% 0.078 98.9);
Tailwind
colors: {
  custom: {
    50: '#ded5ab',
    500: '#cec388',
    950: '#000000',
  },
}
SCSS
$custom: #cec388;
$custom-light: #ded5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec388",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 50.571,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81227,
    "c": 0.07819,
    "h": 98.9
  },
  "luminance": 0.5393
}

Semantic roles & 50–950 ramp

primary
#CEC388
secondary
#5964A2
accent
#46B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC388

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

Preview Lab → · Contrast checker → · Palette generator →

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