#CBCA87#CBCA87

#CBCA87 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.087 H 107.4°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CBCA87
RGBrgb(203, 202, 135)
HSLhsl(59, 40%, 66%)
HSVhsv(59, 33%, 80%)
CMYKcmyk(0%, 0.5%, 33.5%, 20.4%)
CIE-LABlab(80.00, -9.85, 33.64)
CIE-LCHlch(80.00, 35.06, 106.32°)
OKLaboklab(82.42% -0.0261 0.0832)
OKLCHoklch(82.42% 0.087 107.4)
XYZxyz(50.1227, 56.6878, 31.2184)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA87 #8788CB
analogous
#CBA887 #CBCA87 #AACB87
triadic
#CBCA87 #87CBCA #CA87CB
tetradic
#CBCA87 #87CBA8 #8788CB #CB87AA
square
#CBCA87 #87CBA8 #8788CB #CB87AA
split-complementary
#CBCA87 #87AACB #A887CB
monochromatic
#969541 #B8B75C #CBCA87 #DEDDB2 #F0F0DC

Accessibility & contrast

On white

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

On black

12.34
#CBCA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA87
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA87#FFFFFF#000000##000000
##CBCA871.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C582
Deuteranopia (green-blind)
#D6C88A
Tritanopia (blue-blind)
#D4C2B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca87;
/* rgb */ color: rgb(203, 202, 135);
/* oklch */ color: oklch(82.4% 0.087 107.4);
Tailwind
colors: {
  custom: {
    50: '#dcdaaa',
    500: '#cbca87',
    950: '#000000',
  },
}
SCSS
$custom: #cbca87;
$custom-light: #dcdaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca87",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 135
  },
  "hsl": {
    "h": 59.118,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82415,
    "c": 0.08721,
    "h": 107.4
  },
  "luminance": 0.56687
}

Semantic roles & 50–950 ramp

primary
#CBCA87
secondary
#595A9D
accent
#35B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBCA87

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

Preview Lab → · Contrast checker → · Palette generator →

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