#CFDF41#CFDF41

#CFDF41 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.4% C 0.175 H 115.2°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#CFDF41
RGBrgb(207, 223, 65)
HSLhsl(66, 71%, 56%)
HSVhsv(66, 71%, 87%)
CMYKcmyk(7.2%, 0%, 70.9%, 12.5%)
CIE-LABlab(85.21, -24.52, 71.15)
CIE-LCHlch(85.21, 75.26, 109.01°)
OKLaboklab(86.41% -0.0743 0.158)
OKLCHoklch(86.41% 0.175 115.2)
XYZxyz(53.0754, 66.4233, 15.0250)
Luminance0.6642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF41 #5141DF
analogous
#DFA041 #CFDF41 #80DF41
triadic
#CFDF41 #41CFDF #DF41CF
tetradic
#CFDF41 #41DFA0 #5141DF #DF4180
square
#CFDF41 #41DFA0 #5141DF #DF4180
split-complementary
#CFDF41 #4180DF #A041DF
monochromatic
#828E18 #B2C221 #CFDF41 #DCE875 #E9F1AA

Accessibility & contrast

On white

1.47
#CFDF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#CFDF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF41
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF41#FFFFFF#000000##000000
##CFDF411.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD424
Deuteranopia (green-blind)
#EED64E
Tritanopia (blue-blind)
#DCD2C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf41;
/* rgb */ color: rgb(207, 223, 65);
/* oklch */ color: oklch(86.4% 0.175 115.2);
Tailwind
colors: {
  custom: {
    50: '#e1e880',
    500: '#cfdf41',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf41;
$custom-light: #e1e880;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf41",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 65
  },
  "hsl": {
    "h": 66.076,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.86411,
    "c": 0.17464,
    "h": 115.2
  },
  "luminance": 0.66422
}

Semantic roles & 50–950 ramp

primary
#CFDF41
secondary
#3B3193
accent
#3AEE4C
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFDF41

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

Preview Lab → · Contrast checker → · Palette generator →

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