#CFD57D#CFD57D

#CFD57D is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.112 H 111.9°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#CFD57D
RGBrgb(207, 213, 125)
HSLhsl(64, 51%, 66%)
HSVhsv(64, 41%, 84%)
CMYKcmyk(2.8%, 0%, 41.3%, 16.5%)
CIE-LABlab(83.09, -14.98, 42.72)
CIE-LCHlch(83.09, 45.27, 109.33°)
OKLaboklab(84.9% -0.0417 0.1035)
OKLCHoklch(84.9% 0.112 111.9)
XYZxyz(53.2287, 62.3354, 28.6260)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD57D #837DD5
analogous
#D5AF7D #CFD57D #A3D57D
triadic
#CFD57D #7DCFD5 #D57DCF
tetradic
#CFD57D #7DD5AF #837DD5 #D57DA3
square
#CFD57D #7DD5AF #837DD5 #D57DA3
split-complementary
#CFD57D #7DA3D5 #AF7DD5
monochromatic
#9BA335 #BEC64F #CFD57D #E0E4AB #F1F3DA

Accessibility & contrast

On white

1.56
#CFD57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#CFD57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD57D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD57D#FFFFFF#000000##000000
##CFD57D1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE76
Deuteranopia (green-blind)
#E1D081
Tritanopia (blue-blind)
#D9CCC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd57d;
/* rgb */ color: rgb(207, 213, 125);
/* oklch */ color: oklch(84.9% 0.112 111.9);
Tailwind
colors: {
  custom: {
    50: '#dfe1a4',
    500: '#cfd57d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd57d;
$custom-light: #dfe1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd57d",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 125
  },
  "hsl": {
    "h": 64.091,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84899,
    "c": 0.11159,
    "h": 111.9
  },
  "luminance": 0.62335
}

Semantic roles & 50–950 ramp

primary
#CFD57D
secondary
#554FA7
accent
#27BF31
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD57D

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

Preview Lab → · Contrast checker → · Palette generator →

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