#CBBC52#CBBC52

#CBBC52 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.128 H 101.3°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CBBC52
RGBrgb(203, 188, 82)
HSLhsl(53, 54%, 56%)
HSVhsv(53, 60%, 80%)
CMYKcmyk(0%, 7.4%, 59.6%, 20.4%)
CIE-LABlab(75.62, -7.73, 54.29)
CIE-LCHlch(75.62, 54.84, 98.10°)
OKLaboklab(78.72% -0.025 0.1251)
OKLCHoklch(78.72% 0.128 101.3)
XYZxyz(44.1365, 49.2739, 15.1669)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBC52 #5261CB
analogous
#CB7F52 #CBBC52 #9DCB52
triadic
#CBBC52 #52CBBC #BC52CB
tetradic
#CBBC52 #52CB7F #5261CB #CB529D
square
#CBBC52 #52CB7F #5261CB #CB529D
split-complementary
#CBBC52 #529DCB #7F52CB
monochromatic
#7D7226 #AC9D34 #CBBC52 #D9CE81 #E7E0B0

Accessibility & contrast

On white

1.93
#CBBC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CBBC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBC52
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBC52#FFFFFF#000000##000000
##CBBC521.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#D9B0A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbbc52;
/* rgb */ color: rgb(203, 188, 82);
/* oklch */ color: oklch(78.7% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#decf86',
    500: '#cbbc52',
    950: '#000000',
  },
}
SCSS
$custom: #cbbc52;
$custom-light: #decf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbc52",
  "rgb": {
    "r": 203,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 52.562,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78719,
    "c": 0.12755,
    "h": 101.3
  },
  "luminance": 0.49272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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