#CBC79F#CBC79F

#CBC79F is a very light, muted yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.054 H 102.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CBC79F
RGBrgb(203, 199, 159)
HSLhsl(55, 30%, 71%)
HSVhsv(55, 22%, 80%)
CMYKcmyk(0%, 2%, 21.7%, 20.4%)
CIE-LABlab(79.64, -5.12, 20.58)
CIE-LCHlch(79.64, 21.21, 103.98°)
OKLaboklab(82.27% -0.0119 0.0525)
OKLCHoklch(82.27% 0.054 102.8)
XYZxyz(51.3099, 56.0473, 40.9094)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC79F #9FA3CB
analogous
#CBB19F #CBC79F #B9CB9F
triadic
#CBC79F #9FCBC7 #C79FCB
tetradic
#CBC79F #9FCBB1 #9FA3CB #CB9FB9
square
#CBC79F #9FCBB1 #9FA3CB #CB9FB9
split-complementary
#CBC79F #9FB9CB #B19FCB
monochromatic
#9B9554 #B5B077 #CBC79F #E1DEC7 #F4F3EB

Accessibility & contrast

On white

1.72
#CBC79F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CBC79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC79F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC79F#FFFFFF#000000##000000
##CBC79F1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC49D
Deuteranopia (green-blind)
#D0C6A0
Tritanopia (blue-blind)
#D2C1BC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc79f;
/* rgb */ color: rgb(203, 199, 159);
/* oklch */ color: oklch(82.3% 0.054 102.8);
Tailwind
colors: {
  custom: {
    50: '#dbd7bb',
    500: '#cbc79f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc79f;
$custom-light: #dbd7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc79f",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 159
  },
  "hsl": {
    "h": 54.545,
    "s": 29.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.82268,
    "c": 0.0538,
    "h": 102.8
  },
  "luminance": 0.56047
}

Semantic roles & 50–950 ramp

primary
#CBC79F
secondary
#6E73A0
accent
#47A83D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CBC79F

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

Preview Lab → · Contrast checker → · Palette generator →

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