#CABA47#CABA47

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

Color values

HEX#CABA47
RGBrgb(202, 186, 71)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 65%, 79%)
CMYKcmyk(0%, 7.9%, 64.9%, 20.8%)
CIE-LABlab(74.91, -7.84, 58.30)
CIE-LCHlch(74.91, 58.82, 97.66°)
OKLaboklab(78.1% -0.0265 0.132)
OKLCHoklch(78.1% 0.135 101.4)
XYZxyz(43.0551, 48.1311, 12.9823)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA47 #4757CA
analogous
#CA7847 #CABA47 #98CA47
triadic
#CABA47 #47CABA #BA47CA
tetradic
#CABA47 #47CA78 #4757CA #CA4798
square
#CABA47 #47CA78 #4757CA #CA4798
split-complementary
#CABA47 #4798CA #7847CA
monochromatic
#756B22 #A4962F #CABA47 #D8CC77 #E5DEA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA47#FFFFFF#000000##000000
##CABA471.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)
#CAB539
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba47;
/* rgb */ color: rgb(202, 186, 71);
/* oklch */ color: oklch(78.1% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#ddce80',
    500: '#caba47',
    950: '#000000',
  },
}
SCSS
$custom: #caba47;
$custom-light: #ddce80;
$custom-dark: #000000;
JSON
{
  "hex": "#caba47",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 52.672,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78101,
    "c": 0.13468,
    "h": 101.4
  },
  "luminance": 0.48129
}

Semantic roles & 50–950 ramp

primary
#CABA47
secondary
#9AA1D2
accent
#5BDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABA47

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

Preview Lab → · Contrast checker → · Palette generator →

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