#CABD3A#CABD3A

#CABD3A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.6% C 0.146 H 103.6°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CABD3A
RGBrgb(202, 189, 58)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 71%, 79%)
CMYKcmyk(0%, 6.4%, 71.3%, 20.8%)
CIE-LABlab(75.61, -10.09, 64.16)
CIE-LCHlch(75.61, 64.95, 98.94°)
OKLaboklab(78.63% -0.0343 0.1422)
OKLCHoklch(78.63% 0.146 103.6)
XYZxyz(43.3203, 49.2590, 11.2282)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD3A #3A47CA
analogous
#CA753A #CABD3A #8FCA3A
triadic
#CABD3A #3ACABD #BD3ACA
tetradic
#CABD3A #3ACA75 #3A47CA #CA3A8F
square
#CABD3A #3ACA75 #3A47CA #CA3A8F
split-complementary
#CABD3A #3A8FCA #753ACA
monochromatic
#6C651D #9D922A #CABD3A #D7CD6A #E4DD9A

Accessibility & contrast

On white

1.94
#CABD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CABD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD3A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD3A#FFFFFF#000000##000000
##CABD3A1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB724
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#D9B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabd3a;
/* rgb */ color: rgb(202, 189, 58);
/* oklch */ color: oklch(78.6% 0.146 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded079',
    500: '#cabd3a',
    950: '#000000',
  },
}
SCSS
$custom: #cabd3a;
$custom-light: #ded079;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd3a",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 54.583,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78631,
    "c": 0.14633,
    "h": 103.6
  },
  "luminance": 0.49257
}

Semantic roles & 50–950 ramp

primary
#CABD3A
secondary
#9096D0
accent
#55E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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