#CBC87A#CBC87A

#CBC87A is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.100 H 106.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CBC87A
RGBrgb(203, 200, 122)
HSLhsl(58, 44%, 64%)
HSVhsv(58, 40%, 80%)
CMYKcmyk(0%, 1.5%, 39.9%, 20.4%)
CIE-LABlab(79.28, -10.32, 39.35)
CIE-LCHlch(79.28, 40.68, 104.69°)
OKLaboklab(81.77% -0.0284 0.0958)
OKLCHoklch(81.77% 0.1 106.5)
XYZxyz(48.7965, 55.4113, 26.5335)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC87A #7A7DCB
analogous
#CB9F7A #CBC87A #A5CB7A
triadic
#CBC87A #7ACBC8 #C87ACB
tetradic
#CBC87A #7ACB9F #7A7DCB #CB7AA5
square
#CBC87A #7ACB9F #7A7DCB #CB7AA5
split-complementary
#CBC87A #7AA5CB #9F7ACB
monochromatic
#928E39 #BAB64E #CBC87A #DCDAA6 #EDECD2

Accessibility & contrast

On white

1.74
#CBC87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CBC87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC87A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC87A#FFFFFF#000000##000000
##CBC87A1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C274
Deuteranopia (green-blind)
#D6C67D
Tritanopia (blue-blind)
#D6BFB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc87a;
/* rgb */ color: rgb(203, 200, 122);
/* oklch */ color: oklch(81.8% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#dcd8a1',
    500: '#cbc87a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc87a;
$custom-light: #dcd8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc87a",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 122
  },
  "hsl": {
    "h": 57.778,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81775,
    "c": 0.09987,
    "h": 106.5
  },
  "luminance": 0.5541
}

Semantic roles & 50–950 ramp

primary
#CBC87A
secondary
#515498
accent
#34B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC87A

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

Preview Lab → · Contrast checker → · Palette generator →

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