#CABB58#CABB58

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

Color values

HEX#CABB58
RGBrgb(202, 187, 88)
HSLhsl(52, 52%, 57%)
HSVhsv(52, 56%, 79%)
CMYKcmyk(0%, 7.4%, 56.4%, 20.8%)
CIE-LABlab(75.33, -7.19, 51.18)
CIE-LCHlch(75.33, 51.69, 98.00°)
OKLaboklab(78.49% -0.0227 0.1192)
OKLCHoklch(78.49% 0.121 100.8)
XYZxyz(43.8904, 48.8035, 16.3387)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB58 #5867CA
analogous
#CA8258 #CABB58 #A0CA58
triadic
#CABB58 #58CABB #BB58CA
tetradic
#CABB58 #58CA82 #5867CA #CA58A0
square
#CABB58 #58CA82 #5867CA #CA58A0
split-complementary
#CABB58 #58A0CA #8258CA
monochromatic
#7F7428 #AE9E37 #CABB58 #D9CE86 #E7E1B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB58#FFFFFF#000000##000000
##CABB581.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)
#CAB64E
Deuteranopia (green-blind)
#CFBC5D
Tritanopia (blue-blind)
#D8AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb58;
/* rgb */ color: rgb(202, 187, 88);
/* oklch */ color: oklch(78.5% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#ddcf8a',
    500: '#cabb58',
    950: '#000000',
  },
}
SCSS
$custom: #cabb58;
$custom-light: #ddcf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb58",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 88
  },
  "hsl": {
    "h": 52.105,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78485,
    "c": 0.12131,
    "h": 100.8
  },
  "luminance": 0.48802
}

Semantic roles & 50–950 ramp

primary
#CABB58
secondary
#A8AED6
accent
#5FDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABB58

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

Preview Lab → · Contrast checker → · Palette generator →

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