#CEC17A#CEC17A

#CEC17A is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.092 H 99.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CEC17A
RGBrgb(206, 193, 122)
HSLhsl(51, 46%, 64%)
HSVhsv(51, 41%, 81%)
CMYKcmyk(0%, 6.3%, 40.8%, 19.2%)
CIE-LABlab(77.68, -5.51, 37.37)
CIE-LCHlch(77.68, 37.77, 98.39°)
OKLaboklab(80.57% -0.0147 0.0912)
OKLCHoklch(80.57% 0.092 99.1)
XYZxyz(48.0374, 52.6683, 26.0441)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC17A #7A87CE
analogous
#CE977A #CEC17A #B1CE7A
triadic
#CEC17A #7ACEC1 #C17ACE
tetradic
#CEC17A #7ACE97 #7A87CE #CE7AB1
square
#CEC17A #7ACE97 #7A87CE #CE7AB1
split-complementary
#CEC17A #7AB1CE #977ACE
monochromatic
#968837 #BEAC4D #CEC17A #DED6A7 #EFEBD3

Accessibility & contrast

On white

1.82
#CEC17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CEC17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC17A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC17A#FFFFFF#000000##000000
##CEC17A1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD75
Deuteranopia (green-blind)
#D2C27D
Tritanopia (blue-blind)
#DAB8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec17a;
/* rgb */ color: rgb(206, 193, 122);
/* oklch */ color: oklch(80.6% 0.092 99.1);
Tailwind
colors: {
  custom: {
    50: '#ded3a1',
    500: '#cec17a',
    950: '#000000',
  },
}
SCSS
$custom: #cec17a;
$custom-light: #ded3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cec17a",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 50.714,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80567,
    "c": 0.09239,
    "h": 99.1
  },
  "luminance": 0.52667
}

Semantic roles & 50–950 ramp

primary
#CEC17A
secondary
#505C9C
accent
#42B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC17A

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

Preview Lab → · Contrast checker → · Palette generator →

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