#CFD97D#CFD97D

#CFD97D is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.117 H 114.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#CFD97D
RGBrgb(207, 217, 125)
HSLhsl(67, 55%, 67%)
HSVhsv(67, 42%, 85%)
CMYKcmyk(4.6%, 0%, 42.4%, 14.9%)
CIE-LABlab(84.16, -16.97, 44.06)
CIE-LCHlch(84.16, 47.22, 111.07°)
OKLaboklab(85.75% -0.0473 0.1065)
OKLCHoklch(85.75% 0.117 114)
XYZxyz(54.2472, 64.3725, 28.9655)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD97D #877DD9
analogous
#D9B57D #CFD97D #A1D97D
triadic
#CFD97D #7DCFD9 #D97DCF
tetradic
#CFD97D #7DD9B5 #877DD9 #D97DA1
square
#CFD97D #7DD9B5 #877DD9 #D97DA1
split-complementary
#CFD97D #7DA1D9 #B57DD9
monochromatic
#9DAA32 #BECB4E #CFD97D #E0E7AC #F2F5DC

Accessibility & contrast

On white

1.51
#CFD97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#CFD97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD97D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD97D#FFFFFF#000000##000000
##CFD97D1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D176
Deuteranopia (green-blind)
#E4D381
Tritanopia (blue-blind)
#D9CFC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd97d;
/* rgb */ color: rgb(207, 217, 125);
/* oklch */ color: oklch(85.8% 0.117 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe4a4',
    500: '#cfd97d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd97d;
$custom-light: #dfe4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd97d",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 66.522,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8575,
    "c": 0.11657,
    "h": 114
  },
  "luminance": 0.64372
}

Semantic roles & 50–950 ramp

primary
#CFD97D
secondary
#584DAD
accent
#23C235
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD97D

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

Preview Lab → · Contrast checker → · Palette generator →

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