#CBC532#CBC532

#CBC532 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.158 H 107.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CBC532
RGBrgb(203, 197, 50)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 3%, 75.4%, 20.4%)
CIE-LABlab(77.79, -14.08, 69.02)
CIE-LCHlch(77.79, 70.44, 101.53°)
OKLaboklab(80.37% -0.0463 0.1511)
OKLCHoklch(80.37% 0.158 107.1)
XYZxyz(45.1724, 52.8609, 10.8407)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC532 #3238CB
analogous
#CB7932 #CBC532 #85CB32
triadic
#CBC532 #32CBC5 #C532CB
tetradic
#CBC532 #32CB79 #3238CB #CB3285
square
#CBC532 #32CB79 #3238CB #CB3285
split-complementary
#CBC532 #3285CB #7932CB
monochromatic
#69661A #9A9526 #CBC532 #D8D462 #E4E193

Accessibility & contrast

On white

1.81
#CBC532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CBC532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC532
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC532#FFFFFF#000000##000000
##CBC5321.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD0E
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#DAB8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc532;
/* rgb */ color: rgb(203, 197, 50);
/* oklch */ color: oklch(80.4% 0.158 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd676',
    500: '#cbc532',
    950: '#000000',
  },
}
SCSS
$custom: #cbc532;
$custom-light: #dfd676;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc532",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 57.647,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80373,
    "c": 0.158,
    "h": 107.1
  },
  "luminance": 0.52859
}

Semantic roles & 50–950 ramp

primary
#CBC532
secondary
#2E3173
accent
#4AE444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC532

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

Preview Lab → · Contrast checker → · Palette generator →

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