#CECF97#CECF97

#CECF97 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.074 H 108.7°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CECF97
RGBrgb(206, 207, 151)
HSLhsl(61, 37%, 70%)
HSVhsv(61, 27%, 81%)
CMYKcmyk(0.5%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.83, -9.22, 27.81)
CIE-LCHlch(81.83, 29.30, 108.35°)
OKLaboklab(84.01% -0.0237 0.0699)
OKLCHoklch(84.01% 0.074 108.7)
XYZxyz(53.3524, 59.9826, 38.0394)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF97 #9897CF
analogous
#CFB497 #CECF97 #B2CF97
triadic
#CECF97 #97CECF #CF97CE
tetradic
#CECF97 #97CFB4 #9897CF #CF97B2
square
#CECF97 #97CFB4 #9897CF #CF97B2
split-complementary
#CECF97 #97B2CF #B497CF
monochromatic
#A0A14A #BABC6D #CECF97 #E2E2C1 #F5F5EA

Accessibility & contrast

On white

1.62
#CECF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#CECF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF97
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF97#FFFFFF#000000##000000
##CECF971.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#D9CD99
Tritanopia (blue-blind)
#D6C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cecf97;
/* rgb */ color: rgb(206, 207, 151);
/* oklch */ color: oklch(84.0% 0.074 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddddb6',
    500: '#cecf97',
    950: '#000000',
  },
}
SCSS
$custom: #cecf97;
$custom-light: #ddddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf97",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 61.071,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.84009,
    "c": 0.07377,
    "h": 108.7
  },
  "luminance": 0.59982
}

Semantic roles & 50–950 ramp

primary
#CECF97
secondary
#6766A5
accent
#36B038
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECF97

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

Preview Lab → · Contrast checker → · Palette generator →

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