#CECF5B#CECF5B

#CECF5B is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.138 H 109.5°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CECF5B
RGBrgb(206, 207, 91)
HSLhsl(61, 55%, 58%)
HSVhsv(61, 56%, 81%)
CMYKcmyk(0.5%, 0%, 56%, 18.8%)
CIE-LABlab(81.02, -15.48, 56.36)
CIE-LCHlch(81.02, 58.44, 105.36°)
OKLaboklab(83.1% -0.0463 0.1305)
OKLCHoklch(83.1% 0.138 109.5)
XYZxyz(49.6561, 58.5040, 18.5722)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF5B #5C5BCF
analogous
#CF965B #CECF5B #94CF5B
triadic
#CECF5B #5BCECF #CF5BCE
tetradic
#CECF5B #5BCF96 #5C5BCF #CF5B94
square
#CECF5B #5BCF96 #5C5BCF #CF5B94
split-complementary
#CECF5B #5B94CF #965BCF
monochromatic
#878828 #B6B736 #CECF5B #DCDD8A #EAEBBA

Accessibility & contrast

On white

1.65
#CECF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CECF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF5B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF5B#FFFFFF#000000##000000
##CECF5B1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#DBC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf5b;
/* rgb */ color: rgb(206, 207, 91);
/* oklch */ color: oklch(83.1% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdd8d',
    500: '#cecf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cecf5b;
$custom-light: #dfdd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf5b",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 60.517,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83101,
    "c": 0.13848,
    "h": 109.5
  },
  "luminance": 0.58503
}

Semantic roles & 50–950 ramp

primary
#CECF5B
secondary
#40408F
accent
#4ADE4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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