#CABB55#CABB55

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

Color values

HEX#CABB55
RGBrgb(202, 187, 85)
HSLhsl(52, 52%, 56%)
HSVhsv(52, 58%, 79%)
CMYKcmyk(0%, 7.4%, 57.9%, 20.8%)
CIE-LABlab(75.30, -7.42, 52.54)
CIE-LCHlch(75.30, 53.06, 98.04°)
OKLaboklab(78.45% -0.0237 0.1217)
OKLCHoklch(78.45% 0.124 101)
XYZxyz(43.7687, 48.7548, 15.6977)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB55 #5564CA
analogous
#CA8155 #CABB55 #9FCA55
triadic
#CABB55 #55CABB #BB55CA
tetradic
#CABB55 #55CA81 #5564CA #CA559F
square
#CABB55 #55CA81 #5564CA #CA559F
split-complementary
#CABB55 #559FCA #8155CA
monochromatic
#7D7227 #AC9D36 #CABB55 #D9CE84 #E7E0B2

Accessibility & contrast

On white

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

On black

10.75
#CABB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB55
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB55#FFFFFF#000000##000000
##CABB551.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64A
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#D8AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb55;
/* rgb */ color: rgb(202, 187, 85);
/* oklch */ color: oklch(78.5% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddcf88',
    500: '#cabb55',
    950: '#000000',
  },
}
SCSS
$custom: #cabb55;
$custom-light: #ddcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb55",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 52.308,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78451,
    "c": 0.12401,
    "h": 101
  },
  "luminance": 0.48753
}

Semantic roles & 50–950 ramp

primary
#CABB55
secondary
#A5ABD5
accent
#5EDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABB55

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

Preview Lab → · Contrast checker → · Palette generator →

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