#C4AB3B#C4AB3B

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

Color values

HEX#C4AB3B
RGBrgb(196, 171, 59)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 77%)
CMYKcmyk(0%, 12.8%, 69.9%, 23.1%)
CIE-LABlab(70.30, -3.26, 58.33)
CIE-LCHlch(70.30, 58.42, 93.20°)
OKLaboklab(74.29% -0.0145 0.1303)
OKLCHoklch(74.29% 0.131 96.3)
XYZxyz(38.1191, 41.1793, 10.0774)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB3B #3B54C4
analogous
#C4673B #C4AB3B #98C43B
triadic
#C4AB3B #3BC4AB #AB3BC4
tetradic
#C4AB3B #3BC467 #3B54C4 #C43B98
square
#C4AB3B #3BC467 #3B54C4 #C43B98
split-complementary
#C4AB3B #3B98C4 #673BC4
monochromatic
#66591F #95822D #C4AB3B #D2BF6A #E0D399

Accessibility & contrast

On white

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

On black

9.24
#C4AB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AB3B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AB3B#FFFFFF#000000##000000
##C4AB3B1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ab3b;
/* rgb */ color: rgb(196, 171, 59);
/* oklch */ color: oklch(74.3% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#dac377',
    500: '#c4ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab3b;
$custom-light: #dac377;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab3b",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 49.051,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.74291,
    "c": 0.1311,
    "h": 96.3
  },
  "luminance": 0.41177
}

Semantic roles & 50–950 ramp

primary
#C4AB3B
secondary
#8F9ACC
accent
#65DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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