#CEC07F#CEC07F

#CEC07F is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.086 H 97.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CEC07F
RGBrgb(206, 192, 127)
HSLhsl(49, 45%, 65%)
HSVhsv(49, 38%, 81%)
CMYKcmyk(0%, 6.8%, 38.3%, 19.2%)
CIE-LABlab(77.49, -4.44, 34.55)
CIE-LCHlch(77.49, 34.84, 97.32°)
OKLaboklab(80.44% -0.0112 0.085)
OKLCHoklch(80.44% 0.086 97.5)
XYZxyz(48.1349, 52.3548, 27.6445)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC07F #7F8DCE
analogous
#CE987F #CEC07F #B4CE7F
triadic
#CEC07F #7FCEC0 #C07FCE
tetradic
#CEC07F #7FCE98 #7F8DCE #CE7FB4
square
#CEC07F #7FCE98 #7F8DCE #CE7FB4
split-complementary
#CEC07F #7FB4CE #987FCE
monochromatic
#98883A #BDAA53 #CEC07F #DFD6AB #F0ECD8

Accessibility & contrast

On white

1.83
#CEC07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CEC07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC07F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC07F#FFFFFF#000000##000000
##CEC07F1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7A
Deuteranopia (green-blind)
#D0C281
Tritanopia (blue-blind)
#D9B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec07f;
/* rgb */ color: rgb(206, 192, 127);
/* oklch */ color: oklch(80.4% 0.086 97.5);
Tailwind
colors: {
  custom: {
    50: '#ded2a5',
    500: '#cec07f',
    950: '#000000',
  },
}
SCSS
$custom: #cec07f;
$custom-light: #ded2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cec07f",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 49.367,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80445,
    "c": 0.08572,
    "h": 97.5
  },
  "luminance": 0.52353
}

Semantic roles & 50–950 ramp

primary
#CEC07F
secondary
#53609E
accent
#46B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC07F

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

Preview Lab → · Contrast checker → · Palette generator →

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