#CFDF71#CFDF71

#CFDF71 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.9% C 0.136 H 116.2°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#CFDF71
RGBrgb(207, 223, 113)
HSLhsl(69, 63%, 66%)
HSVhsv(69, 49%, 87%)
CMYKcmyk(7.2%, 0%, 49.3%, 12.5%)
CIE-LABlab(85.62, -21.11, 51.62)
CIE-LCHlch(85.62, 55.77, 112.25°)
OKLaboklab(86.87% -0.0601 0.1224)
OKLCHoklch(86.87% 0.136 116.2)
XYZxyz(55.1012, 67.2336, 25.6942)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF71 #8171DF
analogous
#DFB871 #CFDF71 #98DF71
triadic
#CFDF71 #71CFDF #DF71CF
tetradic
#CFDF71 #71DFB8 #8171DF #DF7198
square
#CFDF71 #71DFB8 #8171DF #DF7198
split-complementary
#CFDF71 #7198DF #B871DF
monochromatic
#9BAE27 #BED43F #CFDF71 #E0EAA3 #F1F6D5

Accessibility & contrast

On white

1.45
#CFDF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#CFDF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF71
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF71#FFFFFF#000000##000000
##CFDF711.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD567
Deuteranopia (green-blind)
#EAD777
Tritanopia (blue-blind)
#D9D5C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdf71;
/* rgb */ color: rgb(207, 223, 113);
/* oklch */ color: oklch(86.9% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#dfe99c',
    500: '#cfdf71',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf71;
$custom-light: #dfe99c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf71",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 68.727,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86871,
    "c": 0.13639,
    "h": 116.2
  },
  "luminance": 0.67233
}

Semantic roles & 50–950 ramp

primary
#CFDF71
secondary
#5444B0
accent
#1BCB34
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFDF71

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

Preview Lab → · Contrast checker → · Palette generator →

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