#CFD02E#CFD02E

#CFD02E is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.169 H 110.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CFD02E
RGBrgb(207, 208, 46)
HSLhsl(60, 64%, 50%)
HSVhsv(60, 78%, 82%)
CMYKcmyk(0.5%, 0%, 77.9%, 18.4%)
CIE-LABlab(81.06, -18.03, 73.30)
CIE-LCHlch(81.06, 75.48, 103.82°)
OKLaboklab(83.05% -0.0578 0.1593)
OKLCHoklch(83.05% 0.169 110)
XYZxyz(48.7830, 58.5759, 11.3208)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD02E #2F2ED0
analogous
#D0802E #CFD02E #7ED02E
triadic
#CFD02E #2ECFD0 #D02ECF
tetradic
#CFD02E #2ED080 #2F2ED0 #D02E7E
square
#CFD02E #2ED080 #2F2ED0 #D02E7E
split-complementary
#CFD02E #2E7ED0 #802ED0
monochromatic
#6B6C18 #9D9E23 #CFD02E #DBDC5F #E6E792

Accessibility & contrast

On white

1.65
#CFD02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CFD02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD02E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD02E#FFFFFF#000000##000000
##CFD02E1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E3CB3D
Tritanopia (blue-blind)
#DEC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfd02e;
/* rgb */ color: rgb(207, 208, 46);
/* oklch */ color: oklch(83.1% 0.169 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2de75',
    500: '#cfd02e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd02e;
$custom-light: #e2de75;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd02e",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 46
  },
  "hsl": {
    "h": 60.37,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.83053,
    "c": 0.16948,
    "h": 110
  },
  "luminance": 0.58574
}

Semantic roles & 50–950 ramp

primary
#CFD02E
secondary
#2D2D75
accent
#41E742
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CFD02E

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

Preview Lab → · Contrast checker → · Palette generator →

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