#C4A02C#C4A02C

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

Color values

HEX#C4A02C
RGBrgb(196, 160, 44)
HSLhsl(46, 63%, 47%)
HSVhsv(46, 78%, 77%)
CMYKcmyk(0%, 18.4%, 77.6%, 23.1%)
CIE-LABlab(67.32, 1.92, 61.13)
CIE-LCHlch(67.32, 61.16, 88.21°)
OKLaboklab(71.91% -0.0013 0.1334)
OKLCHoklch(71.91% 0.133 90.6)
XYZxyz(35.7925, 37.0615, 7.6508)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A02C #2C50C4
analogous
#C4542C #C4A02C #9CC42C
triadic
#C4A02C #2CC4A0 #A02CC4
tetradic
#C4A02C #2CC454 #2C50C4 #C42C9C
square
#C4A02C #2CC454 #2C50C4 #C42C9C
split-complementary
#C4A02C #2C9CC4 #542CC4
monochromatic
#604E16 #927721 #C4A02C #D9B954 #E4CE86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A02C#FFFFFF#000000##000000
##C4A02C1.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)
#B39E15
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#D4928A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c4a02c;
/* rgb */ color: rgb(196, 160, 44);
/* oklch */ color: oklch(71.9% 0.133 90.6);
Tailwind
colors: {
  custom: {
    50: '#dabb6e',
    500: '#c4a02c',
    950: '#000000',
  },
}
SCSS
$custom: #c4a02c;
$custom-light: #dabb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a02c",
  "rgb": {
    "r": 196,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 45.789,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.13336,
    "h": 90.6
  },
  "luminance": 0.37059
}

Semantic roles & 50–950 ramp

primary
#C4A02C
secondary
#7E91CD
accent
#68E641
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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