#CEC67E#CEC67E

#CEC67E is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.093 H 102.8°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CEC67E
RGBrgb(206, 198, 126)
HSLhsl(54, 45%, 65%)
HSVhsv(54, 39%, 81%)
CMYKcmyk(0%, 3.9%, 38.8%, 19.2%)
CIE-LABlab(79.05, -7.66, 37.08)
CIE-LCHlch(79.05, 37.86, 101.67°)
OKLaboklab(81.67% -0.0205 0.0908)
OKLCHoklch(81.67% 0.093 102.8)
XYZxyz(49.4144, 55.0176, 27.7511)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC67E #7E86CE
analogous
#CE9E7E #CEC67E #AECE7E
triadic
#CEC67E #7ECEC6 #C67ECE
tetradic
#CEC67E #7ECE9E #7E86CE #CE7EAE
square
#CEC67E #7ECE9E #7E86CE #CE7EAE
split-complementary
#CEC67E #7EAECE #9E7ECE
monochromatic
#988E3A #BDB252 #CEC67E #DFDAAA #F0EDD7

Accessibility & contrast

On white

1.75
#CEC67E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CEC67E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC67E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC67E#FFFFFF#000000##000000
##CEC67E1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C179
Deuteranopia (green-blind)
#D5C681
Tritanopia (blue-blind)
#D9BDB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec67e;
/* rgb */ color: rgb(206, 198, 126);
/* oklch */ color: oklch(81.7% 0.093 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded7a4',
    500: '#cec67e',
    950: '#000000',
  },
}
SCSS
$custom: #cec67e;
$custom-light: #ded7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cec67e",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 126
  },
  "hsl": {
    "h": 54,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81674,
    "c": 0.09305,
    "h": 102.8
  },
  "luminance": 0.55016
}

Semantic roles & 50–950 ramp

primary
#CEC67E
secondary
#525A9E
accent
#3BB82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC67E

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

Preview Lab → · Contrast checker → · Palette generator →

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