#CBBA52#CBBA52

#CBBA52 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.126 H 100.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CBBA52
RGBrgb(203, 186, 82)
HSLhsl(52, 54%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 8.4%, 59.6%, 20.4%)
CIE-LABlab(75.09, -6.70, 53.70)
CIE-LCHlch(75.09, 54.12, 97.11°)
OKLaboklab(78.3% -0.022 0.1238)
OKLCHoklch(78.3% 0.126 100.1)
XYZxyz(43.7122, 48.4253, 15.0255)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA52 #5263CB
analogous
#CB7D52 #CBBA52 #9FCB52
triadic
#CBBA52 #52CBBA #BA52CB
tetradic
#CBBA52 #52CB7D #5263CB #CB529F
square
#CBBA52 #52CB7D #5263CB #CB529F
split-complementary
#CBBA52 #529FCB #7D52CB
monochromatic
#7D7126 #AC9B34 #CBBA52 #D9CD81 #E7E0B0

Accessibility & contrast

On white

1.97
#CBBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CBBA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBA52
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBA52#FFFFFF#000000##000000
##CBBA521.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbba52;
/* rgb */ color: rgb(203, 186, 82);
/* oklch */ color: oklch(78.3% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#dece86',
    500: '#cbba52',
    950: '#000000',
  },
}
SCSS
$custom: #cbba52;
$custom-light: #dece86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba52",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 51.57,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.12576,
    "h": 100.1
  },
  "luminance": 0.48424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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