#CABA4F#CABA4F

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

Color values

HEX#CABA4F
RGBrgb(202, 186, 79)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 61%, 79%)
CMYKcmyk(0%, 7.9%, 60.9%, 20.8%)
CIE-LABlab(74.98, -7.33, 54.90)
CIE-LCHlch(74.98, 55.39, 97.60°)
OKLaboklab(78.18% -0.0241 0.126)
OKLCHoklch(78.18% 0.128 100.8)
XYZxyz(43.3290, 48.2406, 14.4247)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4F #4F5FCA
analogous
#CA7C4F #CABA4F #9DCA4F
triadic
#CABA4F #4FCABA #BA4FCA
tetradic
#CABA4F #4FCA7C #4F5FCA #CA4F9D
square
#CABA4F #4FCA7C #4F5FCA #CA4F9D
split-complementary
#CABA4F #4F9DCA #7C4FCA
monochromatic
#7A6F25 #A99A33 #CABA4F #D8CC7E #E6DFAD

Accessibility & contrast

On white

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

On black

10.65
#CABA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA4F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA4F#FFFFFF#000000##000000
##CABA4F1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caba4f;
/* rgb */ color: rgb(202, 186, 79);
/* oklch */ color: oklch(78.2% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#ddce84',
    500: '#caba4f',
    950: '#000000',
  },
}
SCSS
$custom: #caba4f;
$custom-light: #ddce84;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4f",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 52.195,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.12828,
    "h": 100.8
  },
  "luminance": 0.48239
}

Semantic roles & 50–950 ramp

primary
#CABA4F
secondary
#A1A7D4
accent
#5EDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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