#CABA4E#CABA4E

#CABA4E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.129 H 100.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CABA4E
RGBrgb(202, 186, 78)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 61%, 79%)
CMYKcmyk(0%, 7.9%, 61.4%, 20.8%)
CIE-LABlab(74.97, -7.39, 55.33)
CIE-LCHlch(74.97, 55.83, 97.61°)
OKLaboklab(78.17% -0.0244 0.1268)
OKLCHoklch(78.17% 0.129 100.9)
XYZxyz(43.2929, 48.2262, 14.2344)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4E #4E5ECA
analogous
#CA7C4E #CABA4E #9CCA4E
triadic
#CABA4E #4ECABA #BA4ECA
tetradic
#CABA4E #4ECA7C #4E5ECA #CA4E9C
square
#CABA4E #4ECA7C #4E5ECA #CA4E9C
split-complementary
#CABA4E #4E9CCA #7C4ECA
monochromatic
#796E24 #A89932 #CABA4E #D8CC7D #E6DFAC

Accessibility & contrast

On white

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

On black

10.64
#CABA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA4E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA4E#FFFFFF#000000##000000
##CABA4E1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB542
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#D8AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba4e;
/* rgb */ color: rgb(202, 186, 78);
/* oklch */ color: oklch(78.2% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#ddce84',
    500: '#caba4e',
    950: '#000000',
  },
}
SCSS
$custom: #caba4e;
$custom-light: #ddce84;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4e",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 52.258,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78167,
    "c": 0.12912,
    "h": 100.9
  },
  "luminance": 0.48224
}

Semantic roles & 50–950 ramp

primary
#CABA4E
secondary
#A0A7D4
accent
#5DDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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