#CBBF32#CBBF32

#CBBF32 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.153 H 104.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CBBF32
RGBrgb(203, 191, 50)
HSLhsl(55, 60%, 50%)
HSVhsv(55, 75%, 80%)
CMYKcmyk(0%, 5.9%, 75.4%, 20.4%)
CIE-LABlab(76.19, -11.04, 67.53)
CIE-LCHlch(76.19, 68.43, 99.29°)
OKLaboklab(79.09% -0.0378 0.1479)
OKLCHoklch(79.09% 0.153 104.3)
XYZxyz(43.8371, 50.1902, 10.3956)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBF32 #323ECB
analogous
#CB7332 #CBBF32 #8BCB32
triadic
#CBBF32 #32CBBF #BF32CB
tetradic
#CBBF32 #32CB73 #323ECB #CB328B
square
#CBBF32 #32CB73 #323ECB #CB328B
split-complementary
#CBBF32 #328BCB #7332CB
monochromatic
#69631A #9A9126 #CBBF32 #D8CF62 #E4DE93

Accessibility & contrast

On white

1.90
#CBBF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CBBF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBF32
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBF32#FFFFFF#000000##000000
##CBBF321.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B812
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#DAB2A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbbf32;
/* rgb */ color: rgb(203, 191, 50);
/* oklch */ color: oklch(79.1% 0.153 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd175',
    500: '#cbbf32',
    950: '#000000',
  },
}
SCSS
$custom: #cbbf32;
$custom-light: #dfd175;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbf32",
  "rgb": {
    "r": 203,
    "g": 191,
    "b": 50
  },
  "hsl": {
    "h": 55.294,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79093,
    "c": 0.15264,
    "h": 104.3
  },
  "luminance": 0.50188
}

Semantic roles & 50–950 ramp

primary
#CBBF32
secondary
#2E3473
accent
#51E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBBF32

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

Preview Lab → · Contrast checker → · Palette generator →

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