#C4AB3C#C4AB3C

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

Color values

HEX#C4AB3C
RGBrgb(196, 171, 60)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 69%, 77%)
CMYKcmyk(0%, 12.8%, 69.4%, 23.1%)
CIE-LABlab(70.31, -3.21, 57.93)
CIE-LCHlch(70.31, 58.02, 93.17°)
OKLaboklab(74.3% -0.0142 0.1296)
OKLCHoklch(74.3% 0.13 96.3)
XYZxyz(38.1453, 41.1898, 10.2153)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB3C #3C55C4
analogous
#C4673C #C4AB3C #99C43C
triadic
#C4AB3C #3CC4AB #AB3CC4
tetradic
#C4AB3C #3CC467 #3C55C4 #C43C99
square
#C4AB3C #3CC467 #3C55C4 #C43C99
split-complementary
#C4AB3C #3C99C4 #673CC4
monochromatic
#67591F #96822D #C4AB3C #D2BF6B #E0D39A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AB3C#FFFFFF#000000##000000
##C4AB3C1.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)
#BCA72D
Deuteranopia (green-blind)
#C3AF42
Tritanopia (blue-blind)
#D39E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c4ab3c;
/* rgb */ color: rgb(196, 171, 60);
/* oklch */ color: oklch(74.3% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#d9c378',
    500: '#c4ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab3c;
$custom-light: #d9c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab3c",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 48.971,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.13042,
    "h": 96.3
  },
  "luminance": 0.41188
}

Semantic roles & 50–950 ramp

primary
#C4AB3C
secondary
#909BCC
accent
#66DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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