#CBC82E#CBC82E

#CBC82E is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.163 H 108.4°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CBC82E
RGBrgb(203, 200, 46)
HSLhsl(59, 63%, 49%)
HSVhsv(59, 77%, 80%)
CMYKcmyk(0%, 1.5%, 77.3%, 20.4%)
CIE-LABlab(78.58, -15.74, 70.96)
CIE-LCHlch(78.58, 72.69, 102.51°)
OKLaboklab(80.99% -0.0513 0.1545)
OKLCHoklch(80.99% 0.163 108.4)
XYZxyz(45.7778, 54.2038, 10.6352)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC82E #2E31CB
analogous
#CB7A2E #CBC82E #7FCB2E
triadic
#CBC82E #2ECBC8 #C82ECB
tetradic
#CBC82E #2ECB7A #2E31CB #CB2E7F
square
#CBC82E #2ECB7A #2E31CB #CB2E7F
split-complementary
#CBC82E #2E7FCB #7A2ECB
monochromatic
#676617 #999723 #CBC82E #DAD85C #E5E48E

Accessibility & contrast

On white

1.77
#CBC82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CBC82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC82E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC82E#FFFFFF#000000##000000
##CBC82E1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DBC53B
Tritanopia (blue-blind)
#DABBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc82e;
/* rgb */ color: rgb(203, 200, 46);
/* oklch */ color: oklch(81.0% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd874',
    500: '#cbc82e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc82e;
$custom-light: #dfd874;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc82e",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 58.854,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80995,
    "c": 0.16276,
    "h": 108.4
  },
  "luminance": 0.54202
}

Semantic roles & 50–950 ramp

primary
#CBC82E
secondary
#2C2D71
accent
#45E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC82E

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

Preview Lab → · Contrast checker → · Palette generator →

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