#CECF4F#CECF4F

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

Color values

HEX#CECF4F
RGBrgb(206, 207, 79)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 62%, 81%)
CMYKcmyk(0.5%, 0%, 61.8%, 18.8%)
CIE-LABlab(80.91, -16.32, 61.42)
CIE-LCHlch(80.91, 63.55, 104.88°)
OKLaboklab(82.98% -0.0499 0.1397)
OKLCHoklch(82.98% 0.148 109.7)
XYZxyz(49.1792, 58.3133, 16.0606)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF4F #504FCF
analogous
#CF904F #CECF4F #8ECF4F
triadic
#CECF4F #4FCECF #CF4FCE
tetradic
#CECF4F #4FCF90 #504FCF #CF4F8E
square
#CECF4F #4FCF90 #504FCF #CF4F8E
split-complementary
#CECF4F #4F8ECF #904FCF
monochromatic
#808123 #B0B130 #CECF4F #DBDC7F #E9E9AF

Accessibility & contrast

On white

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

On black

12.66
#CECF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF4F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF4F#FFFFFF#000000##000000
##CECF4F1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#DCC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecf4f;
/* rgb */ color: rgb(206, 207, 79);
/* oklch */ color: oklch(83.0% 0.148 109.7);
Tailwind
colors: {
  custom: {
    50: '#e0dd86',
    500: '#cecf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cecf4f;
$custom-light: #e0dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf4f",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 60.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82982,
    "c": 0.14836,
    "h": 109.7
  },
  "luminance": 0.58312
}

Semantic roles & 50–950 ramp

primary
#CECF4F
secondary
#3B3A88
accent
#47E049
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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