#CBC132#CBC132

#CBC132 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.5% C 0.154 H 105.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CBC132
RGBrgb(203, 193, 50)
HSLhsl(56, 60%, 50%)
HSVhsv(56, 75%, 80%)
CMYKcmyk(0%, 4.9%, 75.4%, 20.4%)
CIE-LABlab(76.72, -12.06, 68.03)
CIE-LCHlch(76.72, 69.09, 100.05°)
OKLaboklab(79.52% -0.0406 0.1489)
OKLCHoklch(79.52% 0.154 105.3)
XYZxyz(44.2762, 51.0685, 10.5419)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC132 #323CCB
analogous
#CB7432 #CBC132 #89CB32
triadic
#CBC132 #32CBC1 #C132CB
tetradic
#CBC132 #32CB74 #323CCB #CB3289
square
#CBC132 #32CB74 #323CCB #CB3289
split-complementary
#CBC132 #3289CB #7432CB
monochromatic
#69641A #9A9226 #CBC132 #D8D162 #E4DF93

Accessibility & contrast

On white

1.87
#CBC132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CBC132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC132
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC132#FFFFFF#000000##000000
##CBC1321.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA11
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#DAB4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc132;
/* rgb */ color: rgb(203, 193, 50);
/* oklch */ color: oklch(79.5% 0.154 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfd375',
    500: '#cbc132',
    950: '#000000',
  },
}
SCSS
$custom: #cbc132;
$custom-light: #dfd375;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc132",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 50
  },
  "hsl": {
    "h": 56.078,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79519,
    "c": 0.15439,
    "h": 105.3
  },
  "luminance": 0.51067
}

Semantic roles & 50–950 ramp

primary
#CBC132
secondary
#2E3373
accent
#4FE444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC132

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

Preview Lab → · Contrast checker → · Palette generator →

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