#CFD02F#CFD02F

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

Color values

HEX#CFD02F
RGBrgb(207, 208, 47)
HSLhsl(60, 63%, 50%)
HSVhsv(60, 77%, 82%)
CMYKcmyk(0.5%, 0%, 77.4%, 18.4%)
CIE-LABlab(81.06, -17.99, 73.01)
CIE-LCHlch(81.06, 75.20, 103.84°)
OKLaboklab(83.06% -0.0577 0.1589)
OKLCHoklch(83.06% 0.169 109.9)
XYZxyz(48.8029, 58.5838, 11.4258)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD02F #302FD0
analogous
#D0812F #CFD02F #7ED02F
triadic
#CFD02F #2FCFD0 #D02FCF
tetradic
#CFD02F #2FD081 #302FD0 #D02F7E
square
#CFD02F #2FD081 #302FD0 #D02F7E
split-complementary
#CFD02F #2F7ED0 #812FD0
monochromatic
#6C6C18 #9D9E24 #CFD02F #DBDB61 #E6E793

Accessibility & contrast

On white

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

On black

12.72
#CFD02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD02F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD02F#FFFFFF#000000##000000
##CFD02F1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.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: #cfd02f;
/* rgb */ color: rgb(207, 208, 47);
/* oklch */ color: oklch(83.1% 0.169 109.9);
Tailwind
colors: {
  custom: {
    50: '#e2de76',
    500: '#cfd02f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd02f;
$custom-light: #e2de76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd02f",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 47
  },
  "hsl": {
    "h": 60.373,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.83058,
    "c": 0.16902,
    "h": 109.9
  },
  "luminance": 0.58582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD02F

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

Preview Lab → · Contrast checker → · Palette generator →

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