#C4A02B#C4A02B

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

Color values

HEX#C4A02B
RGBrgb(196, 160, 43)
HSLhsl(46, 64%, 47%)
HSVhsv(46, 78%, 77%)
CMYKcmyk(0%, 18.4%, 78.1%, 23.1%)
CIE-LABlab(67.32, 1.88, 61.47)
CIE-LCHlch(67.32, 61.50, 88.25°)
OKLaboklab(71.9% -0.0015 0.1339)
OKLCHoklch(71.9% 0.134 90.7)
XYZxyz(35.7739, 37.0541, 7.5530)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A02B #2B4FC4
analogous
#C4532B #C4A02B #9CC42B
triadic
#C4A02B #2BC4A0 #A02BC4
tetradic
#C4A02B #2BC453 #2B4FC4 #C42B9C
square
#C4A02B #2BC453 #2B4FC4 #C42B9C
split-complementary
#C4A02B #2B9CC4 #532BC4
monochromatic
#604E15 #927720 #C4A02B #D9BA53 #E4CE85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A02B#FFFFFF#000000##000000
##C4A02B1.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)
#B39E13
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D4928A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c4a02b;
/* rgb */ color: rgb(196, 160, 43);
/* oklch */ color: oklch(71.9% 0.134 90.7);
Tailwind
colors: {
  custom: {
    50: '#dabb6e',
    500: '#c4a02b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a02b;
$custom-light: #dabb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a02b",
  "rgb": {
    "r": 196,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 45.882,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71901,
    "c": 0.13388,
    "h": 90.7
  },
  "luminance": 0.37052
}

Semantic roles & 50–950 ramp

primary
#C4A02B
secondary
#7D90CE
accent
#68E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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