#CBBB52#CBBB52

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

Color values

HEX#CBBB52
RGBrgb(203, 187, 82)
HSLhsl(52, 54%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 7.9%, 59.6%, 20.4%)
CIE-LABlab(75.36, -7.21, 54.00)
CIE-LCHlch(75.36, 54.48, 97.61°)
OKLaboklab(78.51% -0.0235 0.1244)
OKLCHoklch(78.51% 0.127 100.7)
XYZxyz(43.9236, 48.8481, 15.0960)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBB52 #5262CB
analogous
#CB7E52 #CBBB52 #9ECB52
triadic
#CBBB52 #52CBBB #BB52CB
tetradic
#CBBB52 #52CB7E #5262CB #CB529E
square
#CBBB52 #52CB7E #5262CB #CB529E
split-complementary
#CBBB52 #529ECB #7E52CB
monochromatic
#7D7126 #AC9C34 #CBBB52 #D9CD81 #E7E0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBBB52#FFFFFF#000000##000000
##CBBB521.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)
#CBB647
Deuteranopia (green-blind)
#D0BC57
Tritanopia (blue-blind)
#D9AFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbbb52;
/* rgb */ color: rgb(203, 187, 82);
/* oklch */ color: oklch(78.5% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#decf86',
    500: '#cbbb52',
    950: '#000000',
  },
}
SCSS
$custom: #cbbb52;
$custom-light: #decf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbb52",
  "rgb": {
    "r": 203,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 52.066,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78509,
    "c": 0.12665,
    "h": 100.7
  },
  "luminance": 0.48846
}

Semantic roles & 50–950 ramp

primary
#CBBB52
secondary
#A3AAD5
accent
#5EDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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