#CFD57E#CFD57E

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

Color values

HEX#CFD57E
RGBrgb(207, 213, 126)
HSLhsl(64, 51%, 66%)
HSVhsv(64, 41%, 84%)
CMYKcmyk(2.8%, 0%, 40.8%, 16.5%)
CIE-LABlab(83.11, -14.88, 42.24)
CIE-LCHlch(83.11, 44.79, 109.40°)
OKLaboklab(84.92% -0.0413 0.1025)
OKLCHoklch(84.92% 0.11 111.9)
XYZxyz(53.2929, 62.3611, 28.9641)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD57E #847ED5
analogous
#D5B07E #CFD57E #A4D57E
triadic
#CFD57E #7ECFD5 #D57ECF
tetradic
#CFD57E #7ED5B0 #847ED5 #D57EA4
square
#CFD57E #7ED5B0 #847ED5 #D57EA4
split-complementary
#CFD57E #7EA4D5 #B07ED5
monochromatic
#9CA335 #BEC650 #CFD57E #E0E4AC #F1F3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD57E#FFFFFF#000000##000000
##CFD57E1.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)
#E1CE77
Deuteranopia (green-blind)
#E1D082
Tritanopia (blue-blind)
#D9CCC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd57e;
/* rgb */ color: rgb(207, 213, 126);
/* oklch */ color: oklch(84.9% 0.110 111.9);
Tailwind
colors: {
  custom: {
    50: '#dfe1a5',
    500: '#cfd57e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd57e;
$custom-light: #dfe1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd57e",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 64.138,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.11049,
    "h": 111.9
  },
  "luminance": 0.6236
}

Semantic roles & 50–950 ramp

primary
#CFD57E
secondary
#5650A8
accent
#27BE32
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD57E

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

Preview Lab → · Contrast checker → · Palette generator →

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