#CBC84B#CBC84B

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

Color values

HEX#CBC84B
RGBrgb(203, 200, 75)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1.5%, 63.1%, 20.4%)
CIE-LABlab(78.76, -14.32, 60.72)
CIE-LCHlch(78.76, 62.39, 103.27°)
OKLaboklab(81.2% -0.0445 0.1377)
OKLCHoklch(81.2% 0.145 107.9)
XYZxyz(46.5544, 54.5145, 14.7253)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84B #4B4ECB
analogous
#CB884B #CBC84B #8ECB4B
triadic
#CBC84B #4BCBC8 #C84BCB
tetradic
#CBC84B #4BCB88 #4B4ECB #CB4B8E
square
#CBC84B #4BCB88 #4B4ECB #CB4B8E
split-complementary
#CBC84B #4B8ECB #884BCB
monochromatic
#797723 #A8A531 #CBC84B #D9D77A #E6E5AA

Accessibility & contrast

On white

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

On black

11.90
#CBC84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC84B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC84B#FFFFFF#000000##000000
##CBC84B1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc84b;
/* rgb */ color: rgb(203, 200, 75);
/* oklch */ color: oklch(81.2% 0.145 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded883',
    500: '#cbc84b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84b;
$custom-light: #ded883;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84b",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 58.594,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81197,
    "c": 0.14476,
    "h": 107.9
  },
  "luminance": 0.54513
}

Semantic roles & 50–950 ramp

primary
#CBC84B
secondary
#393B81
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC84B

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

Preview Lab → · Contrast checker → · Palette generator →

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