#C4A42F#C4A42F

#C4A42F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.134 H 92.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#C4A42F
RGBrgb(196, 164, 47)
HSLhsl(47, 61%, 48%)
HSVhsv(47, 76%, 77%)
CMYKcmyk(0%, 16.3%, 76%, 23.1%)
CIE-LABlab(68.38, -0.11, 61.05)
CIE-LCHlch(68.38, 61.05, 90.10°)
OKLaboklab(72.75% -0.0068 0.1338)
OKLCHoklch(72.75% 0.134 92.9)
XYZxyz(36.5555, 38.4941, 8.1934)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A42F #2F4FC4
analogous
#C4592F #C4A42F #9AC42F
triadic
#C4A42F #2FC4A4 #A42FC4
tetradic
#C4A42F #2FC459 #2F4FC4 #C42F9A
square
#C4A42F #2FC459 #2F4FC4 #C42F9A
split-complementary
#C4A42F #2F9AC4 #592FC4
monochromatic
#615117 #937B23 #C4A42F #D7BC59 #E3D08A

Accessibility & contrast

On white

2.41
#C4A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#C4A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A42F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A42F#FFFFFF#000000##000000
##C4A42F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#D4968D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c4a42f;
/* rgb */ color: rgb(196, 164, 47);
/* oklch */ color: oklch(72.7% 0.134 92.9);
Tailwind
colors: {
  custom: {
    50: '#dabe70',
    500: '#c4a42f',
    950: '#000000',
  },
}
SCSS
$custom: #c4a42f;
$custom-light: #dabe70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a42f",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 47.114,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72749,
    "c": 0.13396,
    "h": 92.9
  },
  "luminance": 0.38492
}

Semantic roles & 50–950 ramp

primary
#C4A42F
secondary
#8292CD
accent
#66E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C4A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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