#CBC84E#CBC84E

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

Color values

HEX#CBC84E
RGBrgb(203, 200, 78)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 61.6%, 20.4%)
CIE-LABlab(78.79, -14.13, 59.49)
CIE-LCHlch(78.79, 61.15, 103.36°)
OKLaboklab(81.22% -0.0437 0.1356)
OKLCHoklch(81.22% 0.142 107.9)
XYZxyz(46.6595, 54.5565, 15.2788)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84E #4E51CB
analogous
#CB894E #CBC84E #8FCB4E
triadic
#CBC84E #4ECBC8 #C84ECB
tetradic
#CBC84E #4ECB89 #4E51CB #CB4E8F
square
#CBC84E #4ECB89 #4E51CB #CB4E8F
split-complementary
#CBC84E #4E8FCB #894ECB
monochromatic
#7B7924 #AAA732 #CBC84E #D9D77D #E7E5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC84E#FFFFFF#000000##000000
##CBC84E1.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)
#D8C03F
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc84e;
/* rgb */ color: rgb(203, 200, 78);
/* oklch */ color: oklch(81.2% 0.142 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded885',
    500: '#cbc84e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84e;
$custom-light: #ded885;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84e",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 58.56,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81224,
    "c": 0.14243,
    "h": 107.9
  },
  "luminance": 0.54555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC84E

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

Preview Lab → · Contrast checker → · Palette generator →

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