#CECF52#CECF52

#CECF52 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.146 H 109.6°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CECF52
RGBrgb(206, 207, 82)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 60%, 81%)
CMYKcmyk(0.5%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.94, -16.12, 60.19)
CIE-LCHlch(80.94, 62.31, 105.00°)
OKLaboklab(83.01% -0.0491 0.1375)
OKLCHoklch(83.01% 0.146 109.6)
XYZxyz(49.2909, 58.3580, 16.6487)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF52 #5352CF
analogous
#CF9252 #CECF52 #90CF52
triadic
#CECF52 #52CECF #CF52CE
tetradic
#CECF52 #52CF92 #5352CF #CF5290
square
#CECF52 #52CF92 #5352CF #CF5290
split-complementary
#CECF52 #5290CF #9252CF
monochromatic
#828224 #B1B231 #CECF52 #DCDC82 #E9EAB2

Accessibility & contrast

On white

1.66
#CECF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CECF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF52
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF52#FFFFFF#000000##000000
##CECF521.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#DBC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf52;
/* rgb */ color: rgb(206, 207, 82);
/* oklch */ color: oklch(83.0% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#e0dd88',
    500: '#cecf52',
    950: '#000000',
  },
}
SCSS
$custom: #cecf52;
$custom-light: #e0dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf52",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 60.48,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8301,
    "c": 0.14601,
    "h": 109.6
  },
  "luminance": 0.58357
}

Semantic roles & 50–950 ramp

primary
#CECF52
secondary
#3C3C8A
accent
#48E049
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECF52

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

Preview Lab → · Contrast checker → · Palette generator →

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