#CABA4B#CABA4B

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

Color values

HEX#CABA4B
RGBrgb(202, 186, 75)
HSLhsl(52, 55%, 54%)
HSVhsv(52, 63%, 79%)
CMYKcmyk(0%, 7.9%, 62.9%, 20.8%)
CIE-LABlab(74.94, -7.59, 56.62)
CIE-LCHlch(74.94, 57.13, 97.64°)
OKLaboklab(78.14% -0.0254 0.1291)
OKLCHoklch(78.14% 0.132 101.1)
XYZxyz(43.1877, 48.1842, 13.6808)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4B #4B5BCA
analogous
#CA7B4B #CABA4B #9BCA4B
triadic
#CABA4B #4BCABA #BA4BCA
tetradic
#CABA4B #4BCA7B #4B5BCA #CA4B9B
square
#CABA4B #4BCA7B #4B5BCA #CA4B9B
split-complementary
#CABA4B #4B9BCA #7B4BCA
monochromatic
#776D23 #A79831 #CABA4B #D8CC7A #E6DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA4B#FFFFFF#000000##000000
##CABA4B1.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)
#CAB53E
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba4b;
/* rgb */ color: rgb(202, 186, 75);
/* oklch */ color: oklch(78.1% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#ddce82',
    500: '#caba4b',
    950: '#000000',
  },
}
SCSS
$custom: #caba4b;
$custom-light: #ddce82;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4b",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 52.441,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.13156,
    "h": 101.1
  },
  "luminance": 0.48182
}

Semantic roles & 50–950 ramp

primary
#CABA4B
secondary
#9DA4D3
accent
#5DDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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