#CABB59#CABB59

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

Color values

HEX#CABB59
RGBrgb(202, 187, 89)
HSLhsl(52, 52%, 57%)
HSVhsv(52, 56%, 79%)
CMYKcmyk(0%, 7.4%, 55.9%, 20.8%)
CIE-LABlab(75.34, -7.11, 50.73)
CIE-LCHlch(75.34, 51.22, 97.98°)
OKLaboklab(78.5% -0.0224 0.1183)
OKLCHoklch(78.5% 0.12 100.7)
XYZxyz(43.9321, 48.8202, 16.5584)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB59 #5968CA
analogous
#CA8259 #CABB59 #A1CA59
triadic
#CABB59 #59CABB #BB59CA
tetradic
#CABB59 #59CA82 #5968CA #CA59A1
square
#CABB59 #59CA82 #5968CA #CA59A1
split-complementary
#CABB59 #59A1CA #8259CA
monochromatic
#807429 #AE9E38 #CABB59 #D9CE87 #E8E1B6

Accessibility & contrast

On white

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

On black

10.76
#CABB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB59
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB59#FFFFFF#000000##000000
##CABB591.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64F
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#D8AFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabb59;
/* rgb */ color: rgb(202, 187, 89);
/* oklch */ color: oklch(78.5% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf8b',
    500: '#cabb59',
    950: '#000000',
  },
}
SCSS
$custom: #cabb59;
$custom-light: #ddcf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb59",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 89
  },
  "hsl": {
    "h": 52.035,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78497,
    "c": 0.12039,
    "h": 100.7
  },
  "luminance": 0.48818
}

Semantic roles & 50–950 ramp

primary
#CABB59
secondary
#A8AFD6
accent
#60DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABB59

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

Preview Lab → · Contrast checker → · Palette generator →

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