#C4AB3A#C4AB3A

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

Color values

HEX#C4AB3A
RGBrgb(196, 171, 58)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 77%)
CMYKcmyk(0%, 12.8%, 70.4%, 23.1%)
CIE-LABlab(70.29, -3.31, 58.72)
CIE-LCHlch(70.29, 58.82, 93.23°)
OKLaboklab(74.28% -0.0147 0.131)
OKLCHoklch(74.28% 0.132 96.4)
XYZxyz(38.0935, 41.1690, 9.9421)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB3A #3A53C4
analogous
#C4663A #C4AB3A #98C43A
triadic
#C4AB3A #3AC4AB #AB3AC4
tetradic
#C4AB3A #3AC466 #3A53C4 #C43A98
square
#C4AB3A #3AC466 #3A53C4 #C43A98
split-complementary
#C4AB3A #3A98C4 #663AC4
monochromatic
#66591E #95822C #C4AB3A #D3BF69 #E0D398

Accessibility & contrast

On white

2.27
#C4AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AB3A#FFFFFF#000000##000000
##C4AB3A1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#D39E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c4ab3a;
/* rgb */ color: rgb(196, 171, 58);
/* oklch */ color: oklch(74.3% 0.132 96.4);
Tailwind
colors: {
  custom: {
    50: '#dac377',
    500: '#c4ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab3a;
$custom-light: #dac377;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab3a",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 49.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.13179,
    "h": 96.4
  },
  "luminance": 0.41167
}

Semantic roles & 50–950 ramp

primary
#C4AB3A
secondary
#8E99CC
accent
#65DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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