#CBC985#CBC985

#CBC985 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.088 H 106.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CBC985
RGBrgb(203, 201, 133)
HSLhsl(58, 40%, 66%)
HSVhsv(58, 34%, 80%)
CMYKcmyk(0%, 1%, 34.5%, 20.4%)
CIE-LABlab(79.71, -9.58, 34.29)
CIE-LCHlch(79.71, 35.60, 105.61°)
OKLaboklab(82.17% -0.0255 0.0846)
OKLCHoklch(82.17% 0.088 106.8)
XYZxyz(49.7494, 56.1642, 30.4058)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC985 #8587CB
analogous
#CBA685 #CBC985 #AACB85
triadic
#CBC985 #85CBC9 #C985CB
tetradic
#CBC985 #85CBA6 #8587CB #CB85AA
square
#CBC985 #85CBA6 #8587CB #CB85AA
split-complementary
#CBC985 #85AACB #A685CB
monochromatic
#969340 #B9B65A #CBC985 #DDDCB0 #F0EFDB

Accessibility & contrast

On white

1.72
#CBC985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CBC985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC985
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC985#FFFFFF#000000##000000
##CBC9851.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C480
Deuteranopia (green-blind)
#D5C788
Tritanopia (blue-blind)
#D5C1B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbc985;
/* rgb */ color: rgb(203, 201, 133);
/* oklch */ color: oklch(82.2% 0.088 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd9a9',
    500: '#cbc985',
    950: '#000000',
  },
}
SCSS
$custom: #cbc985;
$custom-light: #dcd9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc985",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 58.286,
    "s": 40.23,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8217,
    "c": 0.08838,
    "h": 106.8
  },
  "luminance": 0.56163
}

Semantic roles & 50–950 ramp

primary
#CBC985
secondary
#585A9C
accent
#36B332
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CBC985

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

Preview Lab → · Contrast checker → · Palette generator →

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