#CBC732#CBC732

#CBC732 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.160 H 107.9°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CBC732
RGBrgb(203, 199, 50)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2%, 75.4%, 20.4%)
CIE-LABlab(78.33, -15.09, 69.51)
CIE-LCHlch(78.33, 71.13, 102.25°)
OKLaboklab(80.8% -0.0491 0.1521)
OKLCHoklch(80.8% 0.16 107.9)
XYZxyz(45.6296, 53.7752, 10.9931)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC732 #3236CB
analogous
#CB7A32 #CBC732 #83CB32
triadic
#CBC732 #32CBC7 #C732CB
tetradic
#CBC732 #32CB7A #3236CB #CB3283
square
#CBC732 #32CB7A #3236CB #CB3283
split-complementary
#CBC732 #3283CB #7A32CB
monochromatic
#69671A #9A9726 #CBC732 #D8D562 #E4E293

Accessibility & contrast

On white

1.79
#CBC732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CBC732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC732
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC732#FFFFFF#000000##000000
##CBC7321.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF0C
Deuteranopia (green-blind)
#DAC43E
Tritanopia (blue-blind)
#DABAAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc732;
/* rgb */ color: rgb(203, 199, 50);
/* oklch */ color: oklch(80.8% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd776',
    500: '#cbc732',
    950: '#000000',
  },
}
SCSS
$custom: #cbc732;
$custom-light: #dfd776;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc732",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 58.431,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.15984,
    "h": 107.9
  },
  "luminance": 0.53774
}

Semantic roles & 50–950 ramp

primary
#CBC732
secondary
#2E3073
accent
#48E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC732

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

Preview Lab → · Contrast checker → · Palette generator →

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