#C4A42E#C4A42E

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

Color values

HEX#C4A42E
RGBrgb(196, 164, 46)
HSLhsl(47, 62%, 47%)
HSVhsv(47, 77%, 77%)
CMYKcmyk(0%, 16.3%, 76.5%, 23.1%)
CIE-LABlab(68.38, -0.15, 61.40)
CIE-LCHlch(68.38, 61.40, 90.14°)
OKLaboklab(72.74% -0.007 0.1343)
OKLCHoklch(72.74% 0.135 93)
XYZxyz(36.5356, 38.4861, 8.0884)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A42E #2E4EC4
analogous
#C4592E #C4A42E #99C42E
triadic
#C4A42E #2EC4A4 #A42EC4
tetradic
#C4A42E #2EC459 #2E4EC4 #C42E99
square
#C4A42E #2EC459 #2E4EC4 #C42E99
split-complementary
#C4A42E #2E99C4 #592EC4
monochromatic
#615117 #927B22 #C4A42E #D8BC58 #E3D089

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A42E#FFFFFF#000000##000000
##C4A42E1.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)
#B6A117
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#D4968D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c4a42e;
/* rgb */ color: rgb(196, 164, 46);
/* oklch */ color: oklch(72.7% 0.135 93.0);
Tailwind
colors: {
  custom: {
    50: '#dabe70',
    500: '#c4a42e',
    950: '#000000',
  },
}
SCSS
$custom: #c4a42e;
$custom-light: #dabe70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a42e",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 47.2,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.13452,
    "h": 93
  },
  "luminance": 0.38484
}

Semantic roles & 50–950 ramp

primary
#C4A42E
secondary
#8191CD
accent
#65E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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