#CFD79D#CFD79D

#CFD79D is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.077 H 114.4°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#CFD79D
RGBrgb(207, 215, 157)
HSLhsl(68, 42%, 73%)
HSVhsv(68, 27%, 84%)
CMYKcmyk(3.7%, 0%, 27%, 15.7%)
CIE-LABlab(84.12, -12.10, 27.80)
CIE-LCHlch(84.12, 30.31, 113.53°)
OKLaboklab(85.88% -0.0317 0.0699)
OKLCHoklch(85.88% 0.077 114.4)
XYZxyz(56.1182, 64.3011, 41.3468)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD79D #A59DD7
analogous
#D7C29D #CFD79D #B2D79D
triadic
#CFD79D #9DCFD7 #D79DCF
tetradic
#CFD79D #9DD7C2 #A59DD7 #D79DB2
square
#CFD79D #9DD7C2 #A59DD7 #D79DB2
split-complementary
#CFD79D #9DB2D7 #C29DD7
monochromatic
#A3B148 #BAC572 #CFD79D #E4E9C8 #F4F6E9

Accessibility & contrast

On white

1.52
#CFD79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#CFD79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD79D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD79D#FFFFFF#000000##000000
##CFD79D1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD199
Deuteranopia (green-blind)
#DFD29F
Tritanopia (blue-blind)
#D6D0C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd79d;
/* rgb */ color: rgb(207, 215, 157);
/* oklch */ color: oklch(85.9% 0.077 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee3ba',
    500: '#cfd79d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd79d;
$custom-light: #dee3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd79d",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 157
  },
  "hsl": {
    "h": 68.276,
    "s": 42.029,
    "l": 72.941
  },
  "oklch": {
    "l": 0.85883,
    "c": 0.0768,
    "h": 114.4
  },
  "luminance": 0.64301
}

Semantic roles & 50–950 ramp

primary
#CFD79D
secondary
#746AAE
accent
#30B543
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD79D

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

Preview Lab → · Contrast checker → · Palette generator →

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