#CAB147#CAB147

#CAB147 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.127 H 95.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CAB147
RGBrgb(202, 177, 71)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 65%, 79%)
CMYKcmyk(0%, 12.4%, 64.9%, 20.8%)
CIE-LABlab(72.53, -3.15, 55.78)
CIE-LCHlch(72.53, 55.87, 93.23°)
OKLaboklab(76.22% -0.0131 0.1267)
OKLCHoklch(76.22% 0.127 95.9)
XYZxyz(41.2185, 44.4578, 12.3701)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB147 #4760CA
analogous
#CA6F47 #CAB147 #A1CA47
triadic
#CAB147 #47CAB1 #B147CA
tetradic
#CAB147 #47CA6F #4760CA #CA47A1
square
#CAB147 #47CA6F #4760CA #CA47A1
split-complementary
#CAB147 #47A1CA #6F47CA
monochromatic
#756522 #A48E2F #CAB147 #D8C577 #E5D9A6

Accessibility & contrast

On white

2.12
#CAB147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CAB147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB147
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB147#FFFFFF#000000##000000
##CAB1471.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3A
Deuteranopia (green-blind)
#C9B54C
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab147;
/* rgb */ color: rgb(202, 177, 71);
/* oklch */ color: oklch(76.2% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#ddc87f',
    500: '#cab147',
    950: '#000000',
  },
}
SCSS
$custom: #cab147;
$custom-light: #ddc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab147",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 48.55,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76219,
    "c": 0.12738,
    "h": 95.9
  },
  "luminance": 0.44456
}

Semantic roles & 50–950 ramp

primary
#CAB147
secondary
#9AA5D2
accent
#66DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB147

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

Preview Lab → · Contrast checker → · Palette generator →

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