#CFDF74#CFDF74

#CFDF74 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.9% C 0.133 H 116.3°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#CFDF74
RGBrgb(207, 223, 116)
HSLhsl(69, 63%, 66%)
HSVhsv(69, 48%, 87%)
CMYKcmyk(7.2%, 0%, 48%, 12.5%)
CIE-LABlab(85.66, -20.83, 50.24)
CIE-LCHlch(85.66, 54.39, 112.52°)
OKLaboklab(86.91% -0.059 0.1197)
OKLCHoklch(86.91% 0.133 116.3)
XYZxyz(55.2729, 67.3023, 26.5985)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF74 #8474DF
analogous
#DFBA74 #CFDF74 #9ADF74
triadic
#CFDF74 #74CFDF #DF74CF
tetradic
#CFDF74 #74DFBA #8474DF #DF749A
square
#CFDF74 #74DFBA #8474DF #DF749A
split-complementary
#CFDF74 #749ADF #BA74DF
monochromatic
#9CB029 #BED442 #CFDF74 #E0EAA6 #F1F6D7

Accessibility & contrast

On white

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

On black

14.46
#CFDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF74
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF74#FFFFFF#000000##000000
##CFDF741.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfdf74;
/* rgb */ color: rgb(207, 223, 116);
/* oklch */ color: oklch(86.9% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#dfe99e',
    500: '#cfdf74',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf74;
$custom-light: #dfe99e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf74",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 68.972,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8691,
    "c": 0.13343,
    "h": 116.3
  },
  "luminance": 0.67302
}

Semantic roles & 50–950 ramp

primary
#CFDF74
secondary
#5645B2
accent
#1BCA35
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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