#CFD879#CFD879

#CFD879 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.120 H 113.4°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CFD879
RGBrgb(207, 216, 121)
HSLhsl(66, 55%, 66%)
HSVhsv(66, 44%, 85%)
CMYKcmyk(4.2%, 0%, 44%, 15.3%)
CIE-LABlab(83.84, -16.89, 45.62)
CIE-LCHlch(83.84, 48.65, 110.32°)
OKLaboklab(85.48% -0.0474 0.1098)
OKLCHoklch(85.48% 0.12 113.4)
XYZxyz(53.7399, 63.7584, 27.5611)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD879 #8279D8
analogous
#D8B179 #CFD879 #9FD879
triadic
#CFD879 #79CFD8 #D879CF
tetradic
#CFD879 #79D8B1 #8279D8 #D8799F
square
#CFD879 #79D8B1 #8279D8 #D8799F
split-complementary
#CFD879 #799FD8 #B179D8
monochromatic
#9BA630 #BECA4A #CFD879 #E0E6A8 #F1F4D8

Accessibility & contrast

On white

1.53
#CFD879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CFD879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD879
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD879#FFFFFF#000000##000000
##CFD8791.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#E4D27E
Tritanopia (blue-blind)
#D9CEC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd879;
/* rgb */ color: rgb(207, 216, 121);
/* oklch */ color: oklch(85.5% 0.120 113.4);
Tailwind
colors: {
  custom: {
    50: '#dfe4a1',
    500: '#cfd879',
    950: '#000000',
  },
}
SCSS
$custom: #cfd879;
$custom-light: #dfe4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd879",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 65.684,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85479,
    "c": 0.11958,
    "h": 113.4
  },
  "luminance": 0.63758
}

Semantic roles & 50–950 ramp

primary
#CFD879
secondary
#544BAA
accent
#23C232
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD879

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

Preview Lab → · Contrast checker → · Palette generator →

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