#C4AB34#C4AB34

#C4AB34 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.136 H 96.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C4AB34
RGBrgb(196, 171, 52)
HSLhsl(50, 58%, 49%)
HSVhsv(50, 73%, 77%)
CMYKcmyk(0%, 12.8%, 73.5%, 23.1%)
CIE-LABlab(70.25, -3.60, 61.00)
CIE-LCHlch(70.25, 61.11, 93.38°)
OKLaboklab(74.24% -0.0162 0.1347)
OKLCHoklch(74.24% 0.136 96.9)
XYZxyz(37.9496, 41.1115, 9.1846)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AB34 #344DC4
analogous
#C46334 #C4AB34 #95C434
triadic
#C4AB34 #34C4AB #AB34C4
tetradic
#C4AB34 #34C463 #344DC4 #C43495
square
#C4AB34 #34C463 #344DC4 #C43495
split-complementary
#C4AB34 #3495C4 #6334C4
monochromatic
#63571A #948127 #C4AB34 #D5C160 #E2D491

Accessibility & contrast

On white

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

On black

9.22
#C4AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AB34
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AB34#FFFFFF#000000##000000
##C4AB341.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ab34;
/* rgb */ color: rgb(196, 171, 52);
/* oklch */ color: oklch(74.2% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dac374',
    500: '#c4ab34',
    950: '#000000',
  },
}
SCSS
$custom: #c4ab34;
$custom-light: #dac374;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ab34",
  "rgb": {
    "r": 196,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 49.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.13564,
    "h": 96.9
  },
  "luminance": 0.4111
}

Semantic roles & 50–950 ramp

primary
#C4AB34
secondary
#8793CC
accent
#61E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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