#CBC85A#CBC85A

#CBC85A is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.132 H 107.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CBC85A
RGBrgb(203, 200, 90)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 1.5%, 55.7%, 20.4%)
CIE-LABlab(78.89, -13.27, 54.34)
CIE-LCHlch(78.89, 55.94, 103.73°)
OKLaboklab(81.35% -0.0399 0.1262)
OKLCHoklch(81.35% 0.132 107.6)
XYZxyz(47.1297, 54.7446, 17.7550)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85A #5A5DCB
analogous
#CB8F5A #CBC85A #96CB5A
triadic
#CBC85A #5ACBC8 #C85ACB
tetradic
#CBC85A #5ACB8F #5A5DCB #CB5A96
square
#CBC85A #5ACB8F #5A5DCB #CB5A96
split-complementary
#CBC85A #5A96CB #8F5ACB
monochromatic
#827F29 #B0AD38 #CBC85A #DAD889 #E8E7B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC85A#FFFFFF#000000##000000
##CBC85A1.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)
#D7C14F
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc85a;
/* rgb */ color: rgb(203, 200, 90);
/* oklch */ color: oklch(81.3% 0.132 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd88c',
    500: '#cbc85a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85a;
$custom-light: #ddd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85a",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 58.407,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.13232,
    "h": 107.6
  },
  "luminance": 0.54743
}

Semantic roles & 50–950 ramp

primary
#CBC85A
secondary
#404289
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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