#CEC85E#CEC85E

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

Color values

HEX#CEC85E
RGBrgb(206, 200, 94)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 54%, 81%)
CMYKcmyk(0%, 2.9%, 54.4%, 19.2%)
CIE-LABlab(79.18, -11.73, 52.90)
CIE-LCHlch(79.18, 54.19, 102.50°)
OKLaboklab(81.65% -0.0353 0.1235)
OKLCHoklch(81.65% 0.128 105.9)
XYZxyz(48.1297, 55.2400, 18.7146)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC85E #5E64CE
analogous
#CE905E #CEC85E #9CCE5E
triadic
#CEC85E #5ECEC8 #C85ECE
tetradic
#CEC85E #5ECE90 #5E64CE #CE5E9C
square
#CEC85E #5ECE90 #5E64CE #CE5E9C
split-complementary
#CEC85E #5E9CCE #905ECE
monochromatic
#888329 #B7B038 #CEC85E #DCD88D #EBE8BC

Accessibility & contrast

On white

1.74
#CEC85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CEC85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC85E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC85E#FFFFFF#000000##000000
##CEC85E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C153
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#DBBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec85e;
/* rgb */ color: rgb(206, 200, 94);
/* oklch */ color: oklch(81.6% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd88f',
    500: '#cec85e',
    950: '#000000',
  },
}
SCSS
$custom: #cec85e;
$custom-light: #dfd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec85e",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 56.786,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81645,
    "c": 0.12839,
    "h": 105.9
  },
  "luminance": 0.55239
}

Semantic roles & 50–950 ramp

primary
#CEC85E
secondary
#41458F
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC85E

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

Preview Lab → · Contrast checker → · Palette generator →

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