#C3A02B#C3A02B

#C3A02B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.8% C 0.134 H 91.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#C3A02B
RGBrgb(195, 160, 43)
HSLhsl(46, 64%, 47%)
HSVhsv(46, 78%, 76%)
CMYKcmyk(0%, 17.9%, 77.9%, 23.5%)
CIE-LABlab(67.22, 1.44, 61.35)
CIE-LCHlch(67.22, 61.36, 88.66°)
OKLaboklab(71.8% -0.0027 0.1337)
OKLCHoklch(71.8% 0.134 91.2)
XYZxyz(35.5146, 36.9204, 7.5408)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A02B #2B4EC3
analogous
#C3542B #C3A02B #9AC32B
triadic
#C3A02B #2BC3A0 #A02BC3
tetradic
#C3A02B #2BC354 #2B4EC3 #C32B9A
square
#C3A02B #2BC354 #2B4EC3 #C32B9A
split-complementary
#C3A02B #2B9AC3 #542BC3
monochromatic
#5F4E15 #917720 #C3A02B #D9BA52 #E4CE84

Accessibility & contrast

On white

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

On black

8.38
#C3A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A02B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A02B#FFFFFF#000000##000000
##C3A02B1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E13
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D3928A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c3a02b;
/* rgb */ color: rgb(195, 160, 43);
/* oklch */ color: oklch(71.8% 0.134 91.2);
Tailwind
colors: {
  custom: {
    50: '#dabb6e',
    500: '#c3a02b',
    950: '#000000',
  },
}
SCSS
$custom: #c3a02b;
$custom-light: #dabb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a02b",
  "rgb": {
    "r": 195,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 46.184,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71799,
    "c": 0.13368,
    "h": 91.2
  },
  "luminance": 0.36918
}

Semantic roles & 50–950 ramp

primary
#C3A02B
secondary
#7D8FCD
accent
#67E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#151108
muted
#84807B

Preview Lab

Preview with #C3A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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