#CABA4C#CABA4C

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

Color values

HEX#CABA4C
RGBrgb(202, 186, 76)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 62%, 79%)
CMYKcmyk(0%, 7.9%, 62.4%, 20.8%)
CIE-LABlab(74.95, -7.53, 56.20)
CIE-LCHlch(74.95, 56.70, 97.63°)
OKLaboklab(78.15% -0.0251 0.1283)
OKLCHoklch(78.15% 0.131 101)
XYZxyz(43.2222, 48.1979, 13.8625)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4C #4C5CCA
analogous
#CA7B4C #CABA4C #9BCA4C
triadic
#CABA4C #4CCABA #BA4CCA
tetradic
#CABA4C #4CCA7B #4C5CCA #CA4C9B
square
#CABA4C #4CCA7B #4C5CCA #CA4C9B
split-complementary
#CABA4C #4C9BCA #7B4CCA
monochromatic
#786D24 #A79832 #CABA4C #D8CC7B #E6DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA4C#FFFFFF#000000##000000
##CABA4C1.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)
#CAB53F
Deuteranopia (green-blind)
#CFBB52
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba4c;
/* rgb */ color: rgb(202, 186, 76);
/* oklch */ color: oklch(78.1% 0.131 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddce83',
    500: '#caba4c',
    950: '#000000',
  },
}
SCSS
$custom: #caba4c;
$custom-light: #ddce83;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4c",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 52.381,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78147,
    "c": 0.13075,
    "h": 101
  },
  "luminance": 0.48196
}

Semantic roles & 50–950 ramp

primary
#CABA4C
secondary
#9EA5D4
accent
#5DDE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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