#C3A12F#C3A12F

#C3A12F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.132 H 91.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C3A12F
RGBrgb(195, 161, 47)
HSLhsl(46, 61%, 47%)
HSVhsv(46, 76%, 76%)
CMYKcmyk(0%, 17.4%, 75.9%, 23.5%)
CIE-LABlab(67.50, 1.06, 60.18)
CIE-LCHlch(67.50, 60.19, 88.99°)
OKLaboklab(72.03% -0.0034 0.132)
OKLCHoklch(72.03% 0.132 91.5)
XYZxyz(35.7657, 37.2993, 8.0044)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A12F #2F51C3
analogous
#C3572F #C3A12F #9BC32F
triadic
#C3A12F #2FC3A1 #A12FC3
tetradic
#C3A12F #2FC357 #2F51C3 #C32F9B
square
#C3A12F #2FC357 #2F51C3 #C32F9B
split-complementary
#C3A12F #2F9BC3 #572FC3
monochromatic
#605017 #927823 #C3A12F #D7BA58 #E3CE8A

Accessibility & contrast

On white

2.48
#C3A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C3A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A12F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A12F#FFFFFF#000000##000000
##C3A12F1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#D3938B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c3a12f;
/* rgb */ color: rgb(195, 161, 47);
/* oklch */ color: oklch(72.0% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#d9bc70',
    500: '#c3a12f',
    950: '#000000',
  },
}
SCSS
$custom: #c3a12f;
$custom-light: #d9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a12f",
  "rgb": {
    "r": 195,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 46.216,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.13203,
    "h": 91.5
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

primary
#C3A12F
secondary
#8193CD
accent
#68E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C3A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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