#CECF2F#CECF2F

#CECF2F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.168 H 109.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CECF2F
RGBrgb(206, 207, 47)
HSLhsl(60, 63%, 50%)
HSVhsv(60, 77%, 81%)
CMYKcmyk(0.5%, 0%, 77.3%, 18.8%)
CIE-LABlab(80.71, -17.92, 72.67)
CIE-LCHlch(80.71, 74.85, 103.85°)
OKLaboklab(82.76% -0.0574 0.1582)
OKLCHoklch(82.76% 0.168 109.9)
XYZxyz(48.2813, 57.9541, 11.3317)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECF2F #302FCF
analogous
#CF802F #CECF2F #7ECF2F
triadic
#CECF2F #2FCECF #CF2FCE
tetradic
#CECF2F #2FCF80 #302FCF #CF2F7E
square
#CECF2F #2FCF80 #302FCF #CF2F7E
split-complementary
#CECF2F #2F7ECF #802FCF
monochromatic
#6B6B18 #9C9D24 #CECF2F #DADB60 #E6E692

Accessibility & contrast

On white

1.67
#CECF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CECF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECF2F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECF2F#FFFFFF#000000##000000
##CECF2F1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E2CA3D
Tritanopia (blue-blind)
#DDC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecf2f;
/* rgb */ color: rgb(206, 207, 47);
/* oklch */ color: oklch(82.8% 0.168 109.9);
Tailwind
colors: {
  custom: {
    50: '#e1dd76',
    500: '#cecf2f',
    950: '#000000',
  },
}
SCSS
$custom: #cecf2f;
$custom-light: #e1dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cecf2f",
  "rgb": {
    "r": 206,
    "g": 207,
    "b": 47
  },
  "hsl": {
    "h": 60.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.8276,
    "c": 0.16829,
    "h": 109.9
  },
  "luminance": 0.57953
}

Semantic roles & 50–950 ramp

primary
#CECF2F
secondary
#2E2D75
accent
#42E643
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CECF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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