#CEC06B#CEC06B

#CEC06B is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.108 H 100.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CEC06B
RGBrgb(206, 192, 107)
HSLhsl(52, 50%, 61%)
HSVhsv(52, 48%, 81%)
CMYKcmyk(0%, 6.8%, 48.1%, 19.2%)
CIE-LABlab(77.21, -6.50, 44.34)
CIE-LCHlch(77.21, 44.81, 98.34°)
OKLaboklab(80.13% -0.0189 0.106)
OKLCHoklch(80.13% 0.108 100.1)
XYZxyz(46.9584, 51.8842, 21.4482)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC06B #6B79CE
analogous
#CE8F6B #CEC06B #ABCE6B
triadic
#CEC06B #6BCEC0 #C06BCE
tetradic
#CEC06B #6BCE8F #6B79CE #CE6BAB
square
#CEC06B #6BCE8F #6B79CE #CE6BAB
split-complementary
#CEC06B #6BABCE #8F6BCE
monochromatic
#8F822F #BDAB3F #CEC06B #DDD499 #ECE7C7

Accessibility & contrast

On white

1.85
#CEC06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CEC06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC06B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC06B#FFFFFF#000000##000000
##CEC06B1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB64
Deuteranopia (green-blind)
#D2C16F
Tritanopia (blue-blind)
#DBB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec06b;
/* rgb */ color: rgb(206, 192, 107);
/* oklch */ color: oklch(80.1% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfd297',
    500: '#cec06b',
    950: '#000000',
  },
}
SCSS
$custom: #cec06b;
$custom-light: #dfd297;
$custom-dark: #000000;
JSON
{
  "hex": "#cec06b",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 51.515,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80131,
    "c": 0.10763,
    "h": 100.1
  },
  "luminance": 0.51883
}

Semantic roles & 50–950 ramp

primary
#CEC06B
secondary
#485396
accent
#3DBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC06B

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

Preview Lab → · Contrast checker → · Palette generator →

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