#CECF42#CECF42

#CECF42 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.158 H 109.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CECF42
RGBrgb(206, 207, 66)
HSLhsl(60, 59%, 54%)
HSVhsv(60, 68%, 81%)
CMYKcmyk(0.5%, 0%, 68.1%, 18.8%)
CIE-LABlab(80.82, -17.08, 66.45)
CIE-LCHlch(80.82, 68.61, 104.41°)
OKLaboklab(82.88% -0.0534 0.1483)
OKLCHoklch(82.88% 0.158 109.8)
XYZxyz(48.7514, 58.1422, 13.8077)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF42 #4342CF
analogous
#CF8A42 #CECF42 #87CF42
triadic
#CECF42 #42CECF #CF42CE
tetradic
#CECF42 #42CF8A #4342CF #CF4287
square
#CECF42 #42CF8A #4342CF #CF4287
split-complementary
#CECF42 #4287CF #8A42CF
monochromatic
#77781F #A8A92B #CECF42 #DBDB73 #E7E8A4

Accessibility & contrast

On white

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

On black

12.63
#CECF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF42
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF42#FFFFFF#000000##000000
##CECF421.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#DCC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf42;
/* rgb */ color: rgb(206, 207, 66);
/* oklch */ color: oklch(82.9% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#e0dd7f',
    500: '#cecf42',
    950: '#000000',
  },
}
SCSS
$custom: #cecf42;
$custom-light: #e0dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf42",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 60.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.15763,
    "h": 109.8
  },
  "luminance": 0.58141
}

Semantic roles & 50–950 ramp

primary
#CECF42
secondary
#353580
accent
#45E346
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CECF42

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

Preview Lab → · Contrast checker → · Palette generator →

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