#CBC83B#CBC83B

#CBC83B is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.156 H 108.2°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CBC83B
RGBrgb(203, 200, 59)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1.5%, 70.9%, 20.4%)
CIE-LABlab(78.65, -15.20, 66.78)
CIE-LCHlch(78.65, 68.49, 102.82°)
OKLaboklab(81.07% -0.0486 0.1479)
OKLCHoklch(81.07% 0.156 108.2)
XYZxyz(46.0740, 54.3223, 12.1951)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC83B #3B3ECB
analogous
#CB803B #CBC83B #86CB3B
triadic
#CBC83B #3BCBC8 #C83BCB
tetradic
#CBC83B #3BCB80 #3B3ECB #CB3B86
square
#CBC83B #3BCB80 #3B3ECB #CB3B86
split-complementary
#CBC83B #3B86CB #803BCB
monochromatic
#6E6D1D #9F9C2A #CBC83B #D8D66B #E5E39C

Accessibility & contrast

On white

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

On black

11.86
#CBC83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC83B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC83B#FFFFFF#000000##000000
##CBC83B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C022
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#DABBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc83b;
/* rgb */ color: rgb(203, 200, 59);
/* oklch */ color: oklch(81.1% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded87a',
    500: '#cbc83b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc83b;
$custom-light: #ded87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc83b",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 58.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.15572,
    "h": 108.2
  },
  "luminance": 0.54321
}

Semantic roles & 50–950 ramp

primary
#CBC83B
secondary
#333478
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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