#CBC99F#CBC99F

#CBC99F is a very light, muted yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.056 H 105.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CBC99F
RGBrgb(203, 201, 159)
HSLhsl(57, 30%, 71%)
HSVhsv(57, 22%, 80%)
CMYKcmyk(0%, 1%, 21.7%, 20.4%)
CIE-LABlab(80.16, -6.16, 21.30)
CIE-LCHlch(80.16, 22.18, 106.13°)
OKLaboklab(82.68% -0.0148 0.0542)
OKLCHoklch(82.68% 0.056 105.3)
XYZxyz(51.7731, 56.9737, 41.0638)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC99F #9FA1CB
analogous
#CBB39F #CBC99F #B7CB9F
triadic
#CBC99F #9FCBC9 #C99FCB
tetradic
#CBC99F #9FCBB3 #9FA1CB #CB9FB7
square
#CBC99F #9FCBB3 #9FA1CB #CB9FB7
split-complementary
#CBC99F #9FB7CB #B39FCB
monochromatic
#9B9854 #B5B377 #CBC99F #E1DFC7 #F4F4EB

Accessibility & contrast

On white

1.69
#CBC99F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CBC99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC99F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC99F#FFFFFF#000000##000000
##CBC99F1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C69C
Deuteranopia (green-blind)
#D2C8A0
Tritanopia (blue-blind)
#D2C3BE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbc99f;
/* rgb */ color: rgb(203, 201, 159);
/* oklch */ color: oklch(82.7% 0.056 105.3);
Tailwind
colors: {
  custom: {
    50: '#dbd9bb',
    500: '#cbc99f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc99f;
$custom-light: #dbd9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc99f",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 159
  },
  "hsl": {
    "h": 57.273,
    "s": 29.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.05623,
    "h": 105.3
  },
  "luminance": 0.56973
}

Semantic roles & 50–950 ramp

primary
#CBC99F
secondary
#6E70A0
accent
#42A83D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CBC99F

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

Preview Lab → · Contrast checker → · Palette generator →

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