#CFDF47#CFDF47

#CFDF47 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.5% C 0.171 H 115.2°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#CFDF47
RGBrgb(207, 223, 71)
HSLhsl(66, 70%, 58%)
HSVhsv(66, 68%, 87%)
CMYKcmyk(7.2%, 0%, 68.2%, 12.5%)
CIE-LABlab(85.25, -24.21, 69.05)
CIE-LCHlch(85.25, 73.17, 109.32°)
OKLaboklab(86.45% -0.0729 0.1546)
OKLCHoklch(86.45% 0.171 115.2)
XYZxyz(53.2585, 66.4965, 15.9895)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF47 #5747DF
analogous
#DFA347 #CFDF47 #83DF47
triadic
#CFDF47 #47CFDF #DF47CF
tetradic
#CFDF47 #47DFA3 #5747DF #DF4783
square
#CFDF47 #47DFA3 #5747DF #DF4783
split-complementary
#CFDF47 #4783DF #A347DF
monochromatic
#859219 #B5C622 #CFDF47 #DDE87B #EAF1AF

Accessibility & contrast

On white

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

On black

14.30
#CFDF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF47
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF47#FFFFFF#000000##000000
##CFDF471.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED42F
Deuteranopia (green-blind)
#EDD652
Tritanopia (blue-blind)
#DCD2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf47;
/* rgb */ color: rgb(207, 223, 71);
/* oklch */ color: oklch(86.5% 0.171 115.2);
Tailwind
colors: {
  custom: {
    50: '#e1e883',
    500: '#cfdf47',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf47;
$custom-light: #e1e883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf47",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 71
  },
  "hsl": {
    "h": 66.316,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86452,
    "c": 0.17089,
    "h": 115.2
  },
  "luminance": 0.66496
}

Semantic roles & 50–950 ramp

primary
#CFDF47
secondary
#3E3397
accent
#3BED4D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFDF47

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

Preview Lab → · Contrast checker → · Palette generator →

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