#CECF51#CECF51

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

Color values

HEX#CECF51
RGBrgb(206, 207, 81)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0.5%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.93, -16.19, 60.60)
CIE-LCHlch(80.93, 62.72, 104.96°)
OKLaboklab(83% -0.0493 0.1383)
OKLCHoklch(83% 0.147 109.6)
XYZxyz(49.2531, 58.3429, 16.4498)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF51 #5251CF
analogous
#CF9151 #CECF51 #8FCF51
triadic
#CECF51 #51CECF #CF51CE
tetradic
#CECF51 #51CF91 #5251CF #CF518F
square
#CECF51 #51CF91 #5251CF #CF518F
split-complementary
#CECF51 #518FCF #9151CF
monochromatic
#818224 #B1B231 #CECF51 #DCDC81 #E9E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECF51#FFFFFF#000000##000000
##CECF511.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)
#DEC742
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf51;
/* rgb */ color: rgb(206, 207, 81);
/* oklch */ color: oklch(83.0% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#e0dd87',
    500: '#cecf51',
    950: '#000000',
  },
}
SCSS
$custom: #cecf51;
$custom-light: #e0dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf51",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 60.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83001,
    "c": 0.1468,
    "h": 109.6
  },
  "luminance": 0.58342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CECF51

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

Preview Lab → · Contrast checker → · Palette generator →

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