#CEC859#CEC859

#CEC859 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.133 H 106.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CEC859
RGBrgb(206, 200, 89)
HSLhsl(57, 54%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.9%, 56.8%, 19.2%)
CIE-LABlab(79.13, -12.11, 55.13)
CIE-LCHlch(79.13, 56.44, 102.39°)
OKLaboklab(81.59% -0.0369 0.1277)
OKLCHoklch(81.59% 0.133 106.1)
XYZxyz(47.9125, 55.1531, 17.5710)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC859 #595FCE
analogous
#CE8D59 #CEC859 #99CE59
triadic
#CEC859 #59CEC8 #C859CE
tetradic
#CEC859 #59CE8D #595FCE #CE5999
square
#CEC859 #59CE8D #595FCE #CE5999
split-complementary
#CEC859 #5999CE #8D59CE
monochromatic
#858027 #B5AE35 #CEC859 #DCD888 #EAE7B8

Accessibility & contrast

On white

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

On black

12.03
#CEC859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC859
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC859#FFFFFF#000000##000000
##CEC8591.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec859;
/* rgb */ color: rgb(206, 200, 89);
/* oklch */ color: oklch(81.6% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd88c',
    500: '#cec859',
    950: '#000000',
  },
}
SCSS
$custom: #cec859;
$custom-light: #dfd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec859",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 56.923,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.13289,
    "h": 106.1
  },
  "luminance": 0.55152
}

Semantic roles & 50–950 ramp

primary
#CEC859
secondary
#3F438C
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC859

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

Preview Lab → · Contrast checker → · Palette generator →

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