#CBBB51#CBBB51

#CBBB51 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.128 H 100.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CBBB51
RGBrgb(203, 187, 81)
HSLhsl(52, 54%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 7.9%, 60.1%, 20.4%)
CIE-LABlab(75.35, -7.28, 54.44)
CIE-LCHlch(75.35, 54.92, 97.62°)
OKLaboklab(78.5% -0.0238 0.1253)
OKLCHoklch(78.5% 0.128 100.8)
XYZxyz(43.8858, 48.8330, 14.8970)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB51 #5161CB
analogous
#CB7E51 #CBBB51 #9ECB51
triadic
#CBBB51 #51CBBB #BB51CB
tetradic
#CBBB51 #51CB7E #5161CB #CB519E
square
#CBBB51 #51CB7E #5161CB #CB519E
split-complementary
#CBBB51 #519ECB #7E51CB
monochromatic
#7C7125 #AC9C33 #CBBB51 #D9CD80 #E7E0AF

Accessibility & contrast

On white

1.95
#CBBB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CBBB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBB51
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBB51#FFFFFF#000000##000000
##CBBB511.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#D0BC56
Tritanopia (blue-blind)
#D9AFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbbb51;
/* rgb */ color: rgb(203, 187, 81);
/* oklch */ color: oklch(78.5% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#decf86',
    500: '#cbbb51',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb51;
$custom-light: #decf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb51",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 52.131,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78498,
    "c": 0.1275,
    "h": 100.8
  },
  "luminance": 0.48831
}

Semantic roles & 50–950 ramp

primary
#CBBB51
secondary
#A3A9D5
accent
#5EDD4A
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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