#C4A031#C4A031

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

Color values

HEX#C4A031
RGBrgb(196, 160, 49)
HSLhsl(45, 60%, 48%)
HSVhsv(45, 75%, 77%)
CMYKcmyk(0%, 18.4%, 75%, 23.1%)
CIE-LABlab(67.35, 2.12, 59.34)
CIE-LCHlch(67.35, 59.37, 87.95°)
OKLaboklab(71.94% -0.0002 0.1305)
OKLCHoklch(71.94% 0.131 90.1)
XYZxyz(35.8922, 37.1014, 8.1760)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A031 #3155C4
analogous
#C45631 #C4A031 #9EC431
triadic
#C4A031 #31C4A0 #A031C4
tetradic
#C4A031 #31C456 #3155C4 #C4319E
square
#C4A031 #31C456 #3155C4 #C4319E
split-complementary
#C4A031 #319EC4 #5631C4
monochromatic
#625019 #937825 #C4A031 #D6B85C #E2CE8D

Accessibility & contrast

On white

2.49
#C4A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C4A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A031
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A031#FFFFFF#000000##000000
##C4A0311.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a031;
/* rgb */ color: rgb(196, 160, 49);
/* oklch */ color: oklch(71.9% 0.131 90.1);
Tailwind
colors: {
  custom: {
    50: '#dabb71',
    500: '#c4a031',
    950: '#000000',
  },
}
SCSS
$custom: #c4a031;
$custom-light: #dabb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a031",
  "rgb": {
    "r": 196,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 45.306,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7194,
    "c": 0.13054,
    "h": 90.1
  },
  "luminance": 0.37099
}

Semantic roles & 50–950 ramp

primary
#C4A031
secondary
#8496CD
accent
#6BE345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151108
muted
#84807B

Preview Lab

Preview with #C4A031

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

Preview Lab → · Contrast checker → · Palette generator →

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