#CBCA52#CBCA52

#CBCA52 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.141 H 108.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CBCA52
RGBrgb(203, 202, 82)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 60%, 80%)
CMYKcmyk(0%, 0.5%, 59.6%, 20.4%)
CIE-LABlab(79.36, -14.86, 58.40)
CIE-LCHlch(79.36, 60.26, 104.28°)
OKLaboklab(81.69% -0.0453 0.1338)
OKLCHoklch(81.69% 0.141 108.7)
XYZxyz(47.2736, 55.5481, 16.2126)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA52 #5253CB
analogous
#CB8D52 #CBCA52 #8FCB52
triadic
#CBCA52 #52CBCA #CA52CB
tetradic
#CBCA52 #52CB8D #5253CB #CB528F
square
#CBCA52 #52CB8D #5253CB #CB528F
split-complementary
#CBCA52 #528FCB #8D52CB
monochromatic
#7D7C26 #ACAB34 #CBCA52 #D9D881 #E7E7B0

Accessibility & contrast

On white

1.73
#CBCA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CBCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA52
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA52#FFFFFF#000000##000000
##CBCA521.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#D8BEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca52;
/* rgb */ color: rgb(203, 202, 82);
/* oklch */ color: oklch(81.7% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#ded987',
    500: '#cbca52',
    950: '#000000',
  },
}
SCSS
$custom: #cbca52;
$custom-light: #ded987;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca52",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 59.504,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8169,
    "c": 0.14127,
    "h": 108.7
  },
  "luminance": 0.55547
}

Semantic roles & 50–950 ramp

primary
#CBCA52
secondary
#3C3D85
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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