#CBC799#CBC799

#CBC799 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.061 H 103.5°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CBC799
RGBrgb(203, 199, 153)
HSLhsl(55, 32%, 70%)
HSVhsv(55, 25%, 80%)
CMYKcmyk(0%, 2%, 24.6%, 20.4%)
CIE-LABlab(79.53, -5.97, 23.60)
CIE-LCHlch(79.53, 24.34, 104.20°)
OKLaboklab(82.14% -0.0144 0.0598)
OKLCHoklch(82.14% 0.061 103.5)
XYZxyz(50.8018, 55.8441, 38.2336)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC799 #999DCB
analogous
#CBAE99 #CBC799 #B6CB99
triadic
#CBC799 #99CBC7 #C799CB
tetradic
#CBC799 #99CBAE #999DCB #CB99B6
square
#CBC799 #99CBAE #999DCB #CB99B6
split-complementary
#CBC799 #99B6CB #AE99CB
monochromatic
#9B954F #B6B170 #CBC799 #E0DDC2 #F4F4EA

Accessibility & contrast

On white

1.73
#CBC799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CBC799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC799
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC799#FFFFFF#000000##000000
##CBC7991.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC496
Deuteranopia (green-blind)
#D1C69B
Tritanopia (blue-blind)
#D3C1BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc799;
/* rgb */ color: rgb(203, 199, 153);
/* oklch */ color: oklch(82.1% 0.061 103.5);
Tailwind
colors: {
  custom: {
    50: '#dbd7b7',
    500: '#cbc799',
    950: '#000000',
  },
}
SCSS
$custom: #cbc799;
$custom-light: #dbd7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc799",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 153
  },
  "hsl": {
    "h": 55.2,
    "s": 32.468,
    "l": 69.804
  },
  "oklch": {
    "l": 0.82139,
    "c": 0.06146,
    "h": 103.5
  },
  "luminance": 0.55843
}

Semantic roles & 50–950 ramp

primary
#CBC799
secondary
#686DA0
accent
#43AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CBC799

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

Preview Lab → · Contrast checker → · Palette generator →

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