#C4AC38#C4AC38

#C4AC38 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.134 H 97.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C4AC38
RGBrgb(196, 172, 56)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 71%, 77%)
CMYKcmyk(0%, 12.2%, 71.4%, 23.1%)
CIE-LABlab(70.54, -3.94, 59.76)
CIE-LCHlch(70.54, 59.89, 93.77°)
OKLaboklab(74.48% -0.0167 0.1328)
OKLCHoklch(74.48% 0.134 97.2)
XYZxyz(38.2332, 41.5283, 9.7425)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AC38 #3850C4
analogous
#C46638 #C4AC38 #96C438
triadic
#C4AC38 #38C4AC #AC38C4
tetradic
#C4AC38 #38C466 #3850C4 #C43896
square
#C4AC38 #38C466 #3850C4 #C43896
split-complementary
#C4AC38 #3896C4 #6638C4
monochromatic
#65581D #94822A #C4AC38 #D3C166 #E1D496

Accessibility & contrast

On white

2.26
#C4AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C4AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AC38
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AC38#FFFFFF#000000##000000
##C4AC381.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#D39F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c4ac38;
/* rgb */ color: rgb(196, 172, 56);
/* oklch */ color: oklch(74.5% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#dac476',
    500: '#c4ac38',
    950: '#000000',
  },
}
SCSS
$custom: #c4ac38;
$custom-light: #dac476;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ac38",
  "rgb": {
    "r": 196,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 49.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74477,
    "c": 0.13384,
    "h": 97.2
  },
  "luminance": 0.41526
}

Semantic roles & 50–950 ramp

primary
#C4AC38
secondary
#8C97CC
accent
#63DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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