#CBC08B#CBC08B

#CBC08B is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.071 H 97.8°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CBC08B
RGBrgb(203, 192, 139)
HSLhsl(50, 38%, 67%)
HSVhsv(50, 32%, 80%)
CMYKcmyk(0%, 5.4%, 31.5%, 20.4%)
CIE-LABlab(77.44, -4.19, 28.16)
CIE-LCHlch(77.44, 28.47, 98.46°)
OKLaboklab(80.4% -0.0097 0.0705)
OKLCHoklch(80.4% 0.071 97.8)
XYZxyz(48.1389, 52.2611, 31.9726)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC08B #8B96CB
analogous
#CBA08B #CBC08B #B6CB8B
triadic
#CBC08B #8BCBC0 #C08BCB
tetradic
#CBC08B #8BCBA0 #8B96CB #CB8BB6
square
#CBC08B #8BCBA0 #8B96CB #CB8BB6
split-complementary
#CBC08B #8BB6CB #A08BCB
monochromatic
#988944 #B8A961 #CBC08B #DED7B5 #F1EEE0

Accessibility & contrast

On white

1.83
#CBC08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CBC08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC08B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC08B#FFFFFF#000000##000000
##CBC08B1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD87
Deuteranopia (green-blind)
#CEC18D
Tritanopia (blue-blind)
#D5B8B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc08b;
/* rgb */ color: rgb(203, 192, 139);
/* oklch */ color: oklch(80.4% 0.071 97.8);
Tailwind
colors: {
  custom: {
    50: '#dbd2ad',
    500: '#cbc08b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc08b;
$custom-light: #dbd2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc08b",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 139
  },
  "hsl": {
    "h": 49.688,
    "s": 38.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.07111,
    "h": 97.8
  },
  "luminance": 0.5226
}

Semantic roles & 50–950 ramp

primary
#CBC08B
secondary
#5C679E
accent
#4AB134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC08B

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

Preview Lab → · Contrast checker → · Palette generator →

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