#CEC06F#CEC06F

#CEC06F is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.103 H 99.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CEC06F
RGBrgb(206, 192, 111)
HSLhsl(51, 49%, 62%)
HSVhsv(51, 46%, 81%)
CMYKcmyk(0%, 6.8%, 46.1%, 19.2%)
CIE-LABlab(77.26, -6.12, 42.41)
CIE-LCHlch(77.26, 42.85, 98.21°)
OKLaboklab(80.19% -0.0174 0.102)
OKLCHoklch(80.19% 0.103 99.7)
XYZxyz(47.1737, 51.9704, 22.5822)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC06F #6F7DCE
analogous
#CE916F #CEC06F #ADCE6F
triadic
#CEC06F #6FCEC0 #C06FCE
tetradic
#CEC06F #6FCE91 #6F7DCE #CE6FAD
square
#CEC06F #6FCE91 #6F7DCE #CE6FAD
split-complementary
#CEC06F #6FADCE #916FCE
monochromatic
#918331 #BEAC41 #CEC06F #DED49D #EDE8CA

Accessibility & contrast

On white

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

On black

11.39
#CEC06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC06F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC06F#FFFFFF#000000##000000
##CEC06F1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC68
Deuteranopia (green-blind)
#D2C172
Tritanopia (blue-blind)
#DBB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec06f;
/* rgb */ color: rgb(206, 192, 111);
/* oklch */ color: oklch(80.2% 0.103 99.7);
Tailwind
colors: {
  custom: {
    50: '#dfd29a',
    500: '#cec06f',
    950: '#000000',
  },
}
SCSS
$custom: #cec06f;
$custom-light: #dfd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec06f",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 51.158,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80189,
    "c": 0.10344,
    "h": 99.7
  },
  "luminance": 0.51969
}

Semantic roles & 50–950 ramp

primary
#CEC06F
secondary
#4A5597
accent
#3FBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC06F

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

Preview Lab → · Contrast checker → · Palette generator →

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