#C4A02E#C4A02E

#C4A02E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.132 H 90.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C4A02E
RGBrgb(196, 160, 46)
HSLhsl(46, 62%, 47%)
HSVhsv(46, 77%, 77%)
CMYKcmyk(0%, 18.4%, 76.5%, 23.1%)
CIE-LABlab(67.33, 2.00, 60.43)
CIE-LCHlch(67.33, 60.46, 88.11°)
OKLaboklab(71.92% -0.0009 0.1323)
OKLCHoklch(71.92% 0.132 90.4)
XYZxyz(35.8310, 37.0769, 7.8536)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A02E #2E52C4
analogous
#C4552E #C4A02E #9DC42E
triadic
#C4A02E #2EC4A0 #A02EC4
tetradic
#C4A02E #2EC455 #2E52C4 #C42E9D
square
#C4A02E #2EC455 #2E52C4 #C42E9D
split-complementary
#C4A02E #2E9DC4 #552EC4
monochromatic
#614F17 #927822 #C4A02E #D8B958 #E3CE89

Accessibility & contrast

On white

2.50
#C4A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C4A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A02E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A02E#FFFFFF#000000##000000
##C4A02E1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E19
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#D4928A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c4a02e;
/* rgb */ color: rgb(196, 160, 46);
/* oklch */ color: oklch(71.9% 0.132 90.4);
Tailwind
colors: {
  custom: {
    50: '#dabb6f',
    500: '#c4a02e',
    950: '#000000',
  },
}
SCSS
$custom: #c4a02e;
$custom-light: #dabb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a02e",
  "rgb": {
    "r": 196,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 45.6,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.13226,
    "h": 90.4
  },
  "luminance": 0.37075
}

Semantic roles & 50–950 ramp

primary
#C4A02E
secondary
#8193CD
accent
#6AE543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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