#CECF5F#CECF5F

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

Color values

HEX#CECF5F
RGBrgb(206, 207, 95)
HSLhsl(61, 54%, 59%)
HSVhsv(61, 54%, 81%)
CMYKcmyk(0.5%, 0%, 54.1%, 18.8%)
CIE-LABlab(81.06, -15.17, 54.60)
CIE-LCHlch(81.06, 56.67, 105.53°)
OKLaboklab(83.14% -0.045 0.1272)
OKLCHoklch(83.14% 0.135 109.5)
XYZxyz(49.8333, 58.5749, 19.5053)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF5F #605FCF
analogous
#CF985F #CECF5F #96CF5F
triadic
#CECF5F #5FCECF #CF5FCE
tetradic
#CECF5F #5FCF98 #605FCF #CF5F96
square
#CECF5F #5FCF98 #605FCF #CF5F96
split-complementary
#CECF5F #5F96CF #985FCF
monochromatic
#898A29 #B8B938 #CECF5F #DCDD8E #EBEBBD

Accessibility & contrast

On white

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

On black

12.71
#CECF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF5F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF5F#FFFFFF#000000##000000
##CECF5F1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC754
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#DBC4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf5f;
/* rgb */ color: rgb(206, 207, 95);
/* oklch */ color: oklch(83.1% 0.135 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdd90',
    500: '#cecf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cecf5f;
$custom-light: #dfdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf5f",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 60.536,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83144,
    "c": 0.13492,
    "h": 109.5
  },
  "luminance": 0.58574
}

Semantic roles & 50–950 ramp

primary
#CECF5F
secondary
#424191
accent
#4BDD4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CECF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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