#CFD79B#CFD79B

#CFD79B is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.079 H 114.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#CFD79B
RGBrgb(207, 215, 155)
HSLhsl(68, 43%, 73%)
HSVhsv(68, 28%, 84%)
CMYKcmyk(3.7%, 0%, 27.9%, 15.7%)
CIE-LABlab(84.09, -12.37, 28.78)
CIE-LCHlch(84.09, 31.33, 113.26°)
OKLaboklab(85.84% -0.0326 0.0723)
OKLCHoklch(85.84% 0.079 114.3)
XYZxyz(55.9488, 64.2333, 40.4548)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD79B #A39BD7
analogous
#D7C19B #CFD79B #B1D79B
triadic
#CFD79B #9BCFD7 #D79BCF
tetradic
#CFD79B #9BD7C1 #A39BD7 #D79BB1
square
#CFD79B #9BD7C1 #A39BD7 #D79BB1
split-complementary
#CFD79B #9BB1D7 #C19BD7
monochromatic
#A3B147 #BAC66F #CFD79B #E4E8C7 #F5F6E9

Accessibility & contrast

On white

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

On black

13.85
#CFD79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD79B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD79B#FFFFFF#000000##000000
##CFD79B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D197
Deuteranopia (green-blind)
#DFD29D
Tritanopia (blue-blind)
#D6D0C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd79b;
/* rgb */ color: rgb(207, 215, 155);
/* oklch */ color: oklch(85.8% 0.079 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee3b9',
    500: '#cfd79b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd79b;
$custom-light: #dee3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd79b",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 155
  },
  "hsl": {
    "h": 68,
    "s": 42.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.07926,
    "h": 114.3
  },
  "luminance": 0.64233
}

Semantic roles & 50–950 ramp

primary
#CFD79B
secondary
#7268AE
accent
#30B641
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD79B

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

Preview Lab → · Contrast checker → · Palette generator →

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