#CBCA8D#CBCA8D

#CBCA8D is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.080 H 107.2°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CBCA8D
RGBrgb(203, 202, 141)
HSLhsl(59, 37%, 67%)
HSVhsv(59, 31%, 80%)
CMYKcmyk(0%, 0.5%, 30.5%, 20.4%)
CIE-LABlab(80.10, -9.11, 30.67)
CIE-LCHlch(80.10, 31.99, 106.55°)
OKLaboklab(82.53% -0.0237 0.0764)
OKLCHoklch(82.53% 0.08 107.2)
XYZxyz(50.5571, 56.8615, 33.5062)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA8D #8D8ECB
analogous
#CBAB8D #CBCA8D #ADCB8D
triadic
#CBCA8D #8DCBCA #CA8DCB
tetradic
#CBCA8D #8DCBAB #8D8ECB #CB8DAD
square
#CBCA8D #8DCBAB #8D8ECB #CB8DAD
split-complementary
#CBCA8D #8DADCB #AB8DCB
monochromatic
#989745 #B8B663 #CBCA8D #DEDEB7 #F1F1E1

Accessibility & contrast

On white

1.70
#CBCA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CBCA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA8D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA8D#FFFFFF#000000##000000
##CBCA8D1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C589
Deuteranopia (green-blind)
#D5C88F
Tritanopia (blue-blind)
#D4C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbca8d;
/* rgb */ color: rgb(203, 202, 141);
/* oklch */ color: oklch(82.5% 0.080 107.2);
Tailwind
colors: {
  custom: {
    50: '#dbdaaf',
    500: '#cbca8d',
    950: '#000000',
  },
}
SCSS
$custom: #cbca8d;
$custom-light: #dbdaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca8d",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 141
  },
  "hsl": {
    "h": 59.032,
    "s": 37.349,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.08,
    "h": 107.2
  },
  "luminance": 0.56861
}

Semantic roles & 50–950 ramp

primary
#CBCA8D
secondary
#5D5E9F
accent
#37B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBCA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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