#CBC85C#CBC85C

#CBC85C 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.96:1 contrast (WCAG AA passes).

Color values

HEX#CBC85C
RGBrgb(203, 200, 92)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 1.5%, 54.7%, 20.4%)
CIE-LABlab(78.91, -13.12, 53.45)
CIE-LCHlch(78.91, 55.04, 103.79°)
OKLaboklab(81.37% -0.0393 0.1245)
OKLCHoklch(81.37% 0.131 107.5)
XYZxyz(47.2160, 54.7791, 18.2094)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85C #5C5FCB
analogous
#CB905C #CBC85C #97CB5C
triadic
#CBC85C #5CCBC8 #C85CCB
tetradic
#CBC85C #5CCB90 #5C5FCB #CB5C97
square
#CBC85C #5CCB90 #5C5FCB #CB5C97
split-complementary
#CBC85C #5C97CB #905CCB
monochromatic
#83802A #B1AE39 #CBC85C #DAD88A #E9E7B9

Accessibility & contrast

On white

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

On black

11.96
#CBC85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC85C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC85C#FFFFFF#000000##000000
##CBC85C1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc85c;
/* rgb */ color: rgb(203, 200, 92);
/* oklch */ color: oklch(81.4% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd88e',
    500: '#cbc85c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85c;
$custom-light: #ddd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85c",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 92
  },
  "hsl": {
    "h": 58.378,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81368,
    "c": 0.13052,
    "h": 107.5
  },
  "luminance": 0.54778
}

Semantic roles & 50–950 ramp

primary
#CBC85C
secondary
#41438A
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC85C

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

Preview Lab → · Contrast checker → · Palette generator →

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