#CBC84C#CBC84C

#CBC84C is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.144 H 107.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CBC84C
RGBrgb(203, 200, 76)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1.5%, 62.6%, 20.4%)
CIE-LABlab(78.77, -14.25, 60.31)
CIE-LCHlch(78.77, 61.98, 103.30°)
OKLaboklab(81.21% -0.0442 0.137)
OKLCHoklch(81.21% 0.144 107.9)
XYZxyz(46.5889, 54.5283, 14.9069)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84C #4C4FCB
analogous
#CB894C #CBC84C #8ECB4C
triadic
#CBC84C #4CCBC8 #C84CCB
tetradic
#CBC84C #4CCB89 #4C4FCB #CB4C8E
square
#CBC84C #4CCB89 #4C4FCB #CB4C8E
split-complementary
#CBC84C #4C8ECB #894CCB
monochromatic
#797723 #A9A631 #CBC84C #D9D77B #E7E5AB

Accessibility & contrast

On white

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

On black

11.91
#CBC84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC84C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC84C#FFFFFF#000000##000000
##CBC84C1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03C
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc84c;
/* rgb */ color: rgb(203, 200, 76);
/* oklch */ color: oklch(81.2% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded884',
    500: '#cbc84c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84c;
$custom-light: #ded884;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84c",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 58.583,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.14398,
    "h": 107.9
  },
  "luminance": 0.54527
}

Semantic roles & 50–950 ramp

primary
#CBC84C
secondary
#3A3B82
accent
#4DDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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