#C3A02F#C3A02F

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

Color values

HEX#C3A02F
RGBrgb(195, 160, 47)
HSLhsl(46, 61%, 47%)
HSVhsv(46, 76%, 76%)
CMYKcmyk(0%, 17.9%, 75.9%, 23.5%)
CIE-LABlab(67.24, 1.60, 59.94)
CIE-LCHlch(67.24, 59.96, 88.48°)
OKLaboklab(71.83% -0.0019 0.1315)
OKLCHoklch(71.83% 0.131 90.8)
XYZxyz(35.5916, 36.9512, 7.9464)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A02F #2F52C3
analogous
#C3562F #C3A02F #9CC32F
triadic
#C3A02F #2FC3A0 #A02FC3
tetradic
#C3A02F #2FC356 #2F52C3 #C32F9C
square
#C3A02F #2FC356 #2F52C3 #C32F9C
split-complementary
#C3A02F #2F9CC3 #562FC3
monochromatic
#604F17 #927823 #C3A02F #D7B958 #E3CE8A

Accessibility & contrast

On white

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

On black

8.39
#C3A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A02F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A02F#FFFFFF#000000##000000
##C3A02F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3a02f;
/* rgb */ color: rgb(195, 160, 47);
/* oklch */ color: oklch(71.8% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#d9bb70',
    500: '#c3a02f',
    950: '#000000',
  },
}
SCSS
$custom: #c3a02f;
$custom-light: #d9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a02f",
  "rgb": {
    "r": 195,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 45.811,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.13148,
    "h": 90.8
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#C3A02F
secondary
#8193CD
accent
#6AE444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C3A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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