#CABA3F#CABA3F

#CABA3F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.140 H 101.8°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CABA3F
RGBrgb(202, 186, 63)
HSLhsl(53, 57%, 52%)
HSVhsv(53, 69%, 79%)
CMYKcmyk(0%, 7.9%, 68.8%, 20.8%)
CIE-LABlab(74.85, -8.30, 61.50)
CIE-LCHlch(74.85, 62.06, 97.68°)
OKLaboklab(78.03% -0.0287 0.1375)
OKLCHoklch(78.03% 0.14 101.8)
XYZxyz(42.8151, 48.0351, 11.7181)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA3F #3F4FCA
analogous
#CA753F #CABA3F #94CA3F
triadic
#CABA3F #3FCABA #BA3FCA
tetradic
#CABA3F #3FCA75 #3F4FCA #CA3F94
square
#CABA3F #3FCA75 #3F4FCA #CA3F94
split-complementary
#CABA3F #3F94CA #753FCA
monochromatic
#70661F #A0922C #CABA3F #D7CB6F #E4DC9F

Accessibility & contrast

On white

1.98
#CABA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CABA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA3F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA3F#FFFFFF#000000##000000
##CABA3F1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42D
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#D9ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba3f;
/* rgb */ color: rgb(202, 186, 63);
/* oklch */ color: oklch(78.0% 0.140 101.8);
Tailwind
colors: {
  custom: {
    50: '#dece7b',
    500: '#caba3f',
    950: '#000000',
  },
}
SCSS
$custom: #caba3f;
$custom-light: #dece7b;
$custom-dark: #000000;
JSON
{
  "hex": "#caba3f",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 53.094,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78033,
    "c": 0.14046,
    "h": 101.8
  },
  "luminance": 0.48033
}

Semantic roles & 50–950 ramp

primary
#CABA3F
secondary
#949BD1
accent
#59E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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