#CBC84A#CBC84A

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

Color values

HEX#CBC84A
RGBrgb(203, 200, 74)
HSLhsl(59, 55%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 63.5%, 20.4%)
CIE-LABlab(78.75, -14.38, 61.13)
CIE-LCHlch(78.75, 62.79, 103.24°)
OKLaboklab(81.19% -0.0448 0.1384)
OKLCHoklch(81.19% 0.146 107.9)
XYZxyz(46.5205, 54.5009, 14.5464)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC84A #4A4DCB
analogous
#CB884A #CBC84A #8DCB4A
triadic
#CBC84A #4ACBC8 #C84ACB
tetradic
#CBC84A #4ACB88 #4A4DCB #CB4A8D
square
#CBC84A #4ACB88 #4A4DCB #CB4A8D
split-complementary
#CBC84A #4A8DCB #884ACB
monochromatic
#787623 #A8A530 #CBC84A #D9D67A #E6E5A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC84A#FFFFFF#000000##000000
##CBC84A1.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)
#D8C03A
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc84a;
/* rgb */ color: rgb(203, 200, 74);
/* oklch */ color: oklch(81.2% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded883',
    500: '#cbc84a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc84a;
$custom-light: #ded883;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc84a",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 58.605,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.14551,
    "h": 107.9
  },
  "luminance": 0.54499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC84A

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

Preview Lab → · Contrast checker → · Palette generator →

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