#CABA48#CABA48

#CABA48 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.134 H 101.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CABA48
RGBrgb(202, 186, 72)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 64%, 79%)
CMYKcmyk(0%, 7.9%, 64.4%, 20.8%)
CIE-LABlab(74.92, -7.78, 57.88)
CIE-LCHlch(74.92, 58.41, 97.66°)
OKLaboklab(78.11% -0.0262 0.1313)
OKLCHoklch(78.11% 0.134 101.3)
XYZxyz(43.0875, 48.1440, 13.1528)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA48 #4858CA
analogous
#CA7948 #CABA48 #99CA48
triadic
#CABA48 #48CABA #BA48CA
tetradic
#CABA48 #48CA79 #4858CA #CA4899
square
#CABA48 #48CA79 #4858CA #CA4899
split-complementary
#CABA48 #4899CA #7948CA
monochromatic
#766B22 #A59730 #CABA48 #D8CC77 #E5DEA7

Accessibility & contrast

On white

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

On black

10.63
#CABA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA48
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA48#FFFFFF#000000##000000
##CABA481.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53A
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba48;
/* rgb */ color: rgb(202, 186, 72);
/* oklch */ color: oklch(78.1% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#ddce80',
    500: '#caba48',
    950: '#000000',
  },
}
SCSS
$custom: #caba48;
$custom-light: #ddce80;
$custom-dark: #000000;
JSON
{
  "hex": "#caba48",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 52.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7811,
    "c": 0.13392,
    "h": 101.3
  },
  "luminance": 0.48142
}

Semantic roles & 50–950 ramp

primary
#CABA48
secondary
#9BA2D3
accent
#5CDE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABA48

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

Preview Lab → · Contrast checker → · Palette generator →

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