#CEC159#CEC159

#CEC159 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.126 H 102.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CEC159
RGBrgb(206, 193, 89)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 57%, 81%)
CMYKcmyk(0%, 6.3%, 56.8%, 19.2%)
CIE-LABlab(77.27, -8.54, 53.03)
CIE-LCHlch(77.27, 53.71, 99.15°)
OKLaboklab(80.11% -0.0267 0.1232)
OKLCHoklch(80.11% 0.126 102.2)
XYZxyz(46.3283, 51.9847, 17.0429)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC159 #5966CE
analogous
#CE8659 #CEC159 #A1CE59
triadic
#CEC159 #59CEC1 #C159CE
tetradic
#CEC159 #59CE86 #5966CE #CE59A1
square
#CEC159 #59CE86 #5966CE #CE59A1
split-complementary
#CEC159 #59A1CE #8659CE
monochromatic
#857B27 #B5A635 #CEC159 #DCD388 #EAE4B8

Accessibility & contrast

On white

1.84
#CEC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CEC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC159
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC159#FFFFFF#000000##000000
##CEC1591.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4E
Deuteranopia (green-blind)
#D5C15E
Tritanopia (blue-blind)
#DCB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec159;
/* rgb */ color: rgb(206, 193, 89);
/* oklch */ color: oklch(80.1% 0.126 102.2);
Tailwind
colors: {
  custom: {
    50: '#dfd38b',
    500: '#cec159',
    950: '#000000',
  },
}
SCSS
$custom: #cec159;
$custom-light: #dfd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec159",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 53.333,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80113,
    "c": 0.12602,
    "h": 102.2
  },
  "luminance": 0.51983
}

Semantic roles & 50–950 ramp

primary
#CEC159
secondary
#3F478C
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC159

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

Preview Lab → · Contrast checker → · Palette generator →

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