#CABB3A#CABB3A

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

Color values

HEX#CABB3A
RGBrgb(202, 187, 58)
HSLhsl(54, 58%, 51%)
HSVhsv(54, 71%, 79%)
CMYKcmyk(0%, 7.4%, 71.3%, 20.8%)
CIE-LABlab(75.08, -9.07, 63.64)
CIE-LCHlch(75.08, 64.29, 98.11°)
OKLaboklab(78.21% -0.0314 0.1412)
OKLCHoklch(78.21% 0.145 102.5)
XYZxyz(42.8930, 48.4045, 11.0858)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB3A #3A49CA
analogous
#CA733A #CABB3A #91CA3A
triadic
#CABB3A #3ACABB #BB3ACA
tetradic
#CABB3A #3ACA73 #3A49CA #CA3A91
square
#CABB3A #3ACA73 #3A49CA #CA3A91
split-complementary
#CABB3A #3A91CA #733ACA
monochromatic
#6C641D #9D912A #CABB3A #D7CC6A #E4DC9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB3A#FFFFFF#000000##000000
##CABB3A1.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)
#CCB525
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb3a;
/* rgb */ color: rgb(202, 187, 58);
/* oklch */ color: oklch(78.2% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#decf78',
    500: '#cabb3a',
    950: '#000000',
  },
}
SCSS
$custom: #cabb3a;
$custom-light: #decf78;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb3a",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 53.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78207,
    "c": 0.1446,
    "h": 102.5
  },
  "luminance": 0.48403
}

Semantic roles & 50–950 ramp

primary
#CABB3A
secondary
#9097D0
accent
#57E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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