#CECF7D#CECF7D

#CECF7D is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.104 H 109.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CECF7D
RGBrgb(206, 207, 125)
HSLhsl(61, 46%, 65%)
HSVhsv(61, 40%, 81%)
CMYKcmyk(0.5%, 0%, 39.6%, 18.8%)
CIE-LABlab(81.42, -12.36, 40.60)
CIE-LCHlch(81.42, 42.44, 106.93°)
OKLaboklab(83.55% -0.0341 0.0987)
OKLCHoklch(83.55% 0.104 109.1)
XYZxyz(51.4688, 59.2291, 28.1191)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF7D #7E7DCF
analogous
#CFA77D #CECF7D #A5CF7D
triadic
#CECF7D #7DCECF #CF7DCE
tetradic
#CECF7D #7DCFA7 #7E7DCF #CF7DA5
square
#CECF7D #7DCFA7 #7E7DCF #CF7DA5
split-complementary
#CECF7D #7DA5CF #A77DCF
monochromatic
#989939 #BDBE50 #CECF7D #DFE0AA #F0F0D6

Accessibility & contrast

On white

1.63
#CECF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CECF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF7D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF7D#FFFFFF#000000##000000
##CECF7D1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC977
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#D9C6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecf7d;
/* rgb */ color: rgb(206, 207, 125);
/* oklch */ color: oklch(83.5% 0.104 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedda4',
    500: '#cecf7d',
    950: '#000000',
  },
}
SCSS
$custom: #cecf7d;
$custom-light: #dedda4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf7d",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 60.732,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83548,
    "c": 0.10445,
    "h": 109.1
  },
  "luminance": 0.59228
}

Semantic roles & 50–950 ramp

primary
#CECF7D
secondary
#52519F
accent
#2CB92E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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