#C4A42D#C4A42D

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

Color values

HEX#C4A42D
RGBrgb(196, 164, 45)
HSLhsl(47, 63%, 47%)
HSVhsv(47, 77%, 77%)
CMYKcmyk(0%, 16.3%, 77%, 23.1%)
CIE-LABlab(68.37, -0.19, 61.75)
CIE-LCHlch(68.37, 61.75, 90.17°)
OKLaboklab(72.74% -0.0072 0.1349)
OKLCHoklch(72.74% 0.135 93.1)
XYZxyz(36.5161, 38.4783, 7.9858)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A42D #2D4DC4
analogous
#C4592D #C4A42D #98C42D
triadic
#C4A42D #2DC4A4 #A42DC4
tetradic
#C4A42D #2DC459 #2D4DC4 #C42D98
square
#C4A42D #2DC459 #2D4DC4 #C42D98
split-complementary
#C4A42D #2D98C4 #592DC4
monochromatic
#605116 #927A22 #C4A42D #D8BD56 #E4D088

Accessibility & contrast

On white

2.42
#C4A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A42D#FFFFFF#000000##000000
##C4A42D1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a42d;
/* rgb */ color: rgb(196, 164, 45);
/* oklch */ color: oklch(72.7% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#dabe6f',
    500: '#c4a42d',
    950: '#000000',
  },
}
SCSS
$custom: #c4a42d;
$custom-light: #dabe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a42d",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 47.285,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.13507,
    "h": 93.1
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#C4A42D
secondary
#8090CD
accent
#65E642
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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