#CBC85E#CBC85E

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

Color values

HEX#CBC85E
RGBrgb(203, 200, 94)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 1.5%, 53.7%, 20.4%)
CIE-LABlab(78.93, -12.96, 52.56)
CIE-LCHlch(78.93, 54.13, 103.85°)
OKLaboklab(81.39% -0.0386 0.1228)
OKLCHoklch(81.39% 0.129 107.5)
XYZxyz(47.3045, 54.8145, 18.6759)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85E #5E61CB
analogous
#CB915E #CBC85E #97CB5E
triadic
#CBC85E #5ECBC8 #C85ECB
tetradic
#CBC85E #5ECB91 #5E61CB #CB5E97
square
#CBC85E #5ECB91 #5E61CB #CB5E97
split-complementary
#CBC85E #5E97CB #915ECB
monochromatic
#84822B #B2AF3A #CBC85E #DAD88C #E9E8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC85E#FFFFFF#000000##000000
##CBC85E1.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)
#D6C154
Deuteranopia (green-blind)
#D9C564
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc85e;
/* rgb */ color: rgb(203, 200, 94);
/* oklch */ color: oklch(81.4% 0.129 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd88f',
    500: '#cbc85e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85e;
$custom-light: #ddd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85e",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 58.349,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81391,
    "c": 0.12869,
    "h": 107.5
  },
  "luminance": 0.54813
}

Semantic roles & 50–950 ramp

primary
#CBC85E
secondary
#42448B
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC85E

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

Preview Lab → · Contrast checker → · Palette generator →

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