#CEC17C#CEC17C

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

Color values

HEX#CEC17C
RGBrgb(206, 193, 124)
HSLhsl(50, 46%, 65%)
HSVhsv(50, 40%, 81%)
CMYKcmyk(0%, 6.3%, 39.8%, 19.2%)
CIE-LABlab(77.71, -5.29, 36.38)
CIE-LCHlch(77.71, 36.76, 98.28°)
OKLaboklab(80.6% -0.0139 0.0891)
OKLCHoklch(80.6% 0.09 98.9)
XYZxyz(48.1626, 52.7184, 26.7035)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC17C #7C89CE
analogous
#CE987C #CEC17C #B2CE7C
triadic
#CEC17C #7CCEC1 #C17CCE
tetradic
#CEC17C #7CCE98 #7C89CE #CE7CB2
square
#CEC17C #7CCE98 #7C89CE #CE7CB2
split-complementary
#CEC17C #7CB2CE #987CCE
monochromatic
#978839 #BDAC4F #CEC17C #DFD6A9 #EFEBD5

Accessibility & contrast

On white

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

On black

11.54
#CEC17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC17C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC17C#FFFFFF#000000##000000
##CEC17C1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD77
Deuteranopia (green-blind)
#D1C27F
Tritanopia (blue-blind)
#DAB8B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec17c;
/* rgb */ color: rgb(206, 193, 124);
/* oklch */ color: oklch(80.6% 0.090 98.9);
Tailwind
colors: {
  custom: {
    50: '#ded3a3',
    500: '#cec17c',
    950: '#000000',
  },
}
SCSS
$custom: #cec17c;
$custom-light: #ded3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cec17c",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 124
  },
  "hsl": {
    "h": 50.488,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80601,
    "c": 0.09014,
    "h": 98.9
  },
  "luminance": 0.52717
}

Semantic roles & 50–950 ramp

primary
#CEC17C
secondary
#515D9D
accent
#43B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC17C

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

Preview Lab → · Contrast checker → · Palette generator →

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