#CBC08C#CBC08C

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

Color values

HEX#CBC08C
RGBrgb(203, 192, 140)
HSLhsl(50, 38%, 67%)
HSVhsv(50, 31%, 80%)
CMYKcmyk(0%, 5.4%, 31%, 20.4%)
CIE-LABlab(77.45, -4.06, 27.66)
CIE-LCHlch(77.45, 27.96, 98.35°)
OKLaboklab(80.42% -0.0092 0.0693)
OKLCHoklch(80.42% 0.07 97.6)
XYZxyz(48.2123, 52.2904, 32.3592)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC08C #8C97CB
analogous
#CBA18C #CBC08C #B7CB8C
triadic
#CBC08C #8CCBC0 #C08CCB
tetradic
#CBC08C #8CCBA1 #8C97CB #CB8CB7
square
#CBC08C #8CCBA1 #8C97CB #CB8CB7
split-complementary
#CBC08C #8CB7CB #A18CCB
monochromatic
#988945 #B8A962 #CBC08C #DED7B6 #F1EEE0

Accessibility & contrast

On white

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

On black

11.46
#CBC08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC08C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC08C#FFFFFF#000000##000000
##CBC08C1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD89
Deuteranopia (green-blind)
#CDC18E
Tritanopia (blue-blind)
#D5B9B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc08c;
/* rgb */ color: rgb(203, 192, 140);
/* oklch */ color: oklch(80.4% 0.070 97.6);
Tailwind
colors: {
  custom: {
    50: '#dbd2ae',
    500: '#cbc08c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc08c;
$custom-light: #dbd2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc08c",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 140
  },
  "hsl": {
    "h": 49.524,
    "s": 37.725,
    "l": 67.255
  },
  "oklch": {
    "l": 0.80424,
    "c": 0.06988,
    "h": 97.6
  },
  "luminance": 0.52289
}

Semantic roles & 50–950 ramp

primary
#CBC08C
secondary
#5C689F
accent
#4AB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC08C

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

Preview Lab → · Contrast checker → · Palette generator →

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