#C4AB36#C4AB36

#C4AB36 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#C4AB36
RGBrgb(196, 171, 54)
HSLhsl(49, 57%, 49%)
HSVhsv(49, 72%, 77%)
CMYKcmyk(0%, 12.8%, 72.4%, 23.1%)
CIE-LABlab(70.27, -3.51, 60.26)
CIE-LCHlch(70.27, 60.36, 93.34°)
OKLaboklab(74.25% -0.0157 0.1335)
OKLCHoklch(74.25% 0.134 96.7)
XYZxyz(37.9956, 41.1299, 9.4269)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB36 #364FC4
analogous
#C46436 #C4AB36 #96C436
triadic
#C4AB36 #36C4AB #AB36C4
tetradic
#C4AB36 #36C464 #364FC4 #C43696
square
#C4AB36 #36C464 #364FC4 #C43696
split-complementary
#C4AB36 #3696C4 #6436C4
monochromatic
#64571C #948129 #C4AB36 #D4C063 #E1D493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AB36#FFFFFF#000000##000000
##C4AB361.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)
#BCA723
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#D49E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c4ab36;
/* rgb */ color: rgb(196, 171, 54);
/* oklch */ color: oklch(74.3% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dac375',
    500: '#c4ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab36;
$custom-light: #dac375;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab36",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 49.437,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74253,
    "c": 0.1344,
    "h": 96.7
  },
  "luminance": 0.41128
}

Semantic roles & 50–950 ramp

primary
#C4AB36
secondary
#8995CC
accent
#63E048
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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