#CBC85B#CBC85B

#CBC85B is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.131 H 107.5°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CBC85B
RGBrgb(203, 200, 91)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 1.5%, 55.2%, 20.4%)
CIE-LABlab(78.90, -13.20, 53.90)
CIE-LCHlch(78.90, 55.49, 103.76°)
OKLaboklab(81.36% -0.0396 0.1253)
OKLCHoklch(81.36% 0.131 107.5)
XYZxyz(47.1725, 54.7617, 17.9807)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85B #5B5ECB
analogous
#CB905B #CBC85B #96CB5B
triadic
#CBC85B #5BCBC8 #C85BCB
tetradic
#CBC85B #5BCB90 #5B5ECB #CB5B96
square
#CBC85B #5BCB90 #5B5ECB #CB5B96
split-complementary
#CBC85B #5B96CB #905BCB
monochromatic
#828029 #B1AE38 #CBC85B #DAD889 #E8E7B8

Accessibility & contrast

On white

1.76
#CBC85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CBC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC85B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC85B#FFFFFF#000000##000000
##CBC85B1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#D9C561
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc85b;
/* rgb */ color: rgb(203, 200, 91);
/* oklch */ color: oklch(81.4% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd88d',
    500: '#cbc85b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85b;
$custom-light: #ddd88d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85b",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 58.393,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81357,
    "c": 0.13143,
    "h": 107.5
  },
  "luminance": 0.5476
}

Semantic roles & 50–950 ramp

primary
#CBC85B
secondary
#40428A
accent
#50DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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