#CFD421#CFD421

#CFD421 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.178 H 111.5°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#CFD421
RGBrgb(207, 212, 33)
HSLhsl(62, 73%, 48%)
HSVhsv(62, 84%, 83%)
CMYKcmyk(2.4%, 0%, 84.4%, 16.9%)
CIE-LABlab(82.09, -20.38, 77.41)
CIE-LCHlch(82.09, 80.05, 104.75°)
OKLaboklab(83.86% -0.0652 0.166)
OKLCHoklch(83.86% 0.178 111.5)
XYZxyz(49.5520, 60.4635, 10.4989)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD421 #2621D4
analogous
#D47F21 #CFD421 #75D421
triadic
#CFD421 #21CFD4 #D421CF
tetradic
#CFD421 #21D47F #2621D4 #D42175
square
#CFD421 #21D47F #2621D4 #D42175
split-complementary
#CFD421 #2175D4 #7F21D4
monochromatic
#686A11 #9B9F19 #CFD421 #DFE44F #E9EC84

Accessibility & contrast

On white

1.60
#CFD421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#CFD421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD421
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD421#FFFFFF#000000##000000
##CFD4211.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E6CE35
Tritanopia (blue-blind)
#DEC6B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd421;
/* rgb */ color: rgb(207, 212, 33);
/* oklch */ color: oklch(83.9% 0.178 111.5);
Tailwind
colors: {
  custom: {
    50: '#e2e071',
    500: '#cfd421',
    950: '#000000',
  },
}
SCSS
$custom: #cfd421;
$custom-light: #e2e071;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd421",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 33
  },
  "hsl": {
    "h": 61.676,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.83863,
    "c": 0.17834,
    "h": 111.5
  },
  "luminance": 0.60462
}

Semantic roles & 50–950 ramp

primary
#CFD421
secondary
#282574
accent
#38F03D
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #CFD421

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

Preview Lab → · Contrast checker → · Palette generator →

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