#C4A42B#C4A42B

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

Color values

HEX#C4A42B
RGBrgb(196, 164, 43)
HSLhsl(47, 64%, 47%)
HSVhsv(47, 78%, 77%)
CMYKcmyk(0%, 16.3%, 78.1%, 23.1%)
CIE-LABlab(68.36, -0.26, 62.43)
CIE-LCHlch(68.36, 62.43, 90.24°)
OKLaboklab(72.72% -0.0076 0.1359)
OKLCHoklch(72.72% 0.136 93.2)
XYZxyz(36.4785, 38.4633, 7.7878)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A42B #2B4BC4
analogous
#C4582B #C4A42B #98C42B
triadic
#C4A42B #2BC4A4 #A42BC4
tetradic
#C4A42B #2BC458 #2B4BC4 #C42B98
square
#C4A42B #2BC458 #2B4BC4 #C42B98
split-complementary
#C4A42B #2B98C4 #582BC4
monochromatic
#605015 #927A20 #C4A42B #D9BD53 #E4D085

Accessibility & contrast

On white

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

On black

8.69
#C4A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A42B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A42B#FFFFFF#000000##000000
##C4A42B1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a42b;
/* rgb */ color: rgb(196, 164, 43);
/* oklch */ color: oklch(72.7% 0.136 93.2);
Tailwind
colors: {
  custom: {
    50: '#dabe6e',
    500: '#c4a42b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a42b;
$custom-light: #dabe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a42b",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 47.451,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.13613,
    "h": 93.2
  },
  "luminance": 0.38461
}

Semantic roles & 50–950 ramp

primary
#C4A42B
secondary
#7D8ECE
accent
#64E741
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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