#CBC84D#CBC84D

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

Color values

HEX#CBC84D
RGBrgb(203, 200, 77)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 62.1%, 20.4%)
CIE-LABlab(78.78, -14.19, 59.91)
CIE-LCHlch(78.78, 61.56, 103.33°)
OKLaboklab(81.22% -0.044 0.1363)
OKLCHoklch(81.22% 0.143 107.9)
XYZxyz(46.6240, 54.5423, 15.0915)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84D #4D50CB
analogous
#CB894D #CBC84D #8FCB4D
triadic
#CBC84D #4DCBC8 #C84DCB
tetradic
#CBC84D #4DCB89 #4D50CB #CB4D8F
square
#CBC84D #4DCB89 #4D50CB #CB4D8F
split-complementary
#CBC84D #4D8FCB #894DCB
monochromatic
#7A7824 #A9A631 #CBC84D #D9D77C #E7E5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC84D#FFFFFF#000000##000000
##CBC84D1.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)
#D8C03E
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc84d;
/* rgb */ color: rgb(203, 200, 77);
/* oklch */ color: oklch(81.2% 0.143 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded884',
    500: '#cbc84d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84d;
$custom-light: #ded884;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84d",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 58.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81215,
    "c": 0.14321,
    "h": 107.9
  },
  "luminance": 0.54541
}

Semantic roles & 50–950 ramp

primary
#CBC84D
secondary
#3A3C82
accent
#4DDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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