#CBC487#CBC487

#CBC487 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.080 H 102.4°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CBC487
RGBrgb(203, 196, 135)
HSLhsl(54, 40%, 66%)
HSVhsv(54, 33%, 80%)
CMYKcmyk(0%, 3.4%, 33.5%, 20.4%)
CIE-LABlab(78.42, -6.76, 31.56)
CIE-LCHlch(78.42, 32.28, 102.10°)
OKLaboklab(81.16% -0.0173 0.0783)
OKLCHoklch(81.16% 0.08 102.4)
XYZxyz(48.7422, 53.9267, 30.7582)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC487 #878ECB
analogous
#CBA287 #CBC487 #B0CB87
triadic
#CBC487 #87CBC4 #C487CB
tetradic
#CBC487 #87CBA2 #878ECB #CB87B0
square
#CBC487 #87CBA2 #878ECB #CB87B0
split-complementary
#CBC487 #87B0CB #A287CB
monochromatic
#968E41 #B8AF5C #CBC487 #DED9B2 #F0EEDC

Accessibility & contrast

On white

1.78
#CBC487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CBC487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC487
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC487#FFFFFF#000000##000000
##CBC4871.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#D1C489
Tritanopia (blue-blind)
#D5BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc487;
/* rgb */ color: rgb(203, 196, 135);
/* oklch */ color: oklch(81.2% 0.080 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcd5aa',
    500: '#cbc487',
    950: '#000000',
  },
}
SCSS
$custom: #cbc487;
$custom-light: #dcd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc487",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 53.824,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81159,
    "c": 0.08022,
    "h": 102.4
  },
  "luminance": 0.53926
}

Semantic roles & 50–950 ramp

primary
#CBC487
secondary
#59609D
accent
#40B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC487

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

Preview Lab → · Contrast checker → · Palette generator →

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