#CBC032#CBC032

#CBC032 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.154 H 104.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CBC032
RGBrgb(203, 192, 50)
HSLhsl(56, 60%, 50%)
HSVhsv(56, 75%, 80%)
CMYKcmyk(0%, 5.4%, 75.4%, 20.4%)
CIE-LABlab(76.45, -11.55, 67.78)
CIE-LCHlch(76.45, 68.76, 99.67°)
OKLaboklab(79.31% -0.0392 0.1484)
OKLCHoklch(79.31% 0.154 104.8)
XYZxyz(44.0559, 50.6278, 10.4685)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC032 #323DCB
analogous
#CB7332 #CBC032 #8ACB32
triadic
#CBC032 #32CBC0 #C032CB
tetradic
#CBC032 #32CB73 #323DCB #CB328A
square
#CBC032 #32CB73 #323DCB #CB328A
split-complementary
#CBC032 #328ACB #7332CB
monochromatic
#69631A #9A9226 #CBC032 #D8D062 #E4DF93

Accessibility & contrast

On white

1.89
#CBC032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CBC032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC032
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC032#FFFFFF#000000##000000
##CBC0321.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B912
Deuteranopia (green-blind)
#D5BF3D
Tritanopia (blue-blind)
#DAB3A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc032;
/* rgb */ color: rgb(203, 192, 50);
/* oklch */ color: oklch(79.3% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd275',
    500: '#cbc032',
    950: '#000000',
  },
}
SCSS
$custom: #cbc032;
$custom-light: #dfd275;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc032",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 50
  },
  "hsl": {
    "h": 55.686,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79306,
    "c": 0.15351,
    "h": 104.8
  },
  "luminance": 0.50626
}

Semantic roles & 50–950 ramp

primary
#CBC032
secondary
#2E3373
accent
#50E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC032

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

Preview Lab → · Contrast checker → · Palette generator →

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