#C4AB37#C4AB37

#C4AB37 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.134 H 96.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C4AB37
RGBrgb(196, 171, 55)
HSLhsl(49, 56%, 49%)
HSVhsv(49, 72%, 77%)
CMYKcmyk(0%, 12.8%, 71.9%, 23.1%)
CIE-LABlab(70.27, -3.46, 59.88)
CIE-LCHlch(70.27, 59.98, 93.31°)
OKLaboklab(74.26% -0.0155 0.1329)
OKLCHoklch(74.26% 0.134 96.7)
XYZxyz(38.0194, 41.1394, 9.5518)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB37 #3750C4
analogous
#C46537 #C4AB37 #97C437
triadic
#C4AB37 #37C4AB #AB37C4
tetradic
#C4AB37 #37C465 #3750C4 #C43797
square
#C4AB37 #37C465 #3750C4 #C43797
split-complementary
#C4AB37 #3797C4 #6537C4
monochromatic
#64581C #94812A #C4AB37 #D4C065 #E1D394

Accessibility & contrast

On white

2.28
#C4AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C4AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AB37
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AB37#FFFFFF#000000##000000
##C4AB371.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#D49E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c4ab37;
/* rgb */ color: rgb(196, 171, 55);
/* oklch */ color: oklch(74.3% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dac375',
    500: '#c4ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab37;
$custom-light: #dac375;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab37",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 49.362,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7426,
    "c": 0.13376,
    "h": 96.7
  },
  "luminance": 0.41137
}

Semantic roles & 50–950 ramp

primary
#C4AB37
secondary
#8B96CC
accent
#63DF48
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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