#C3A12D#C3A12D

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

Color values

HEX#C3A12D
RGBrgb(195, 161, 45)
HSLhsl(46, 63%, 47%)
HSVhsv(46, 77%, 76%)
CMYKcmyk(0%, 17.4%, 76.9%, 23.5%)
CIE-LABlab(67.49, 0.98, 60.90)
CIE-LCHlch(67.49, 60.90, 89.08°)
OKLaboklab(72.02% -0.0038 0.1331)
OKLCHoklch(72.02% 0.133 91.7)
XYZxyz(35.7263, 37.2835, 7.7968)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A12D #2D4FC3
analogous
#C3562D #C3A12D #9AC32D
triadic
#C3A12D #2DC3A1 #A12DC3
tetradic
#C3A12D #2DC356 #2D4FC3 #C32D9A
square
#C3A12D #2DC356 #2D4FC3 #C32D9A
split-complementary
#C3A12D #2D9AC3 #562DC3
monochromatic
#604F16 #917822 #C3A12D #D8BA55 #E3CE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3A12D#FFFFFF#000000##000000
##C3A12D1.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)
#B39F17
Deuteranopia (green-blind)
#BCA834
Tritanopia (blue-blind)
#D3938B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c3a12d;
/* rgb */ color: rgb(195, 161, 45);
/* oklch */ color: oklch(72.0% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#dabc6f',
    500: '#c3a12d',
    950: '#000000',
  },
}
SCSS
$custom: #c3a12d;
$custom-light: #dabc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a12d",
  "rgb": {
    "r": 195,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 46.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.13316,
    "h": 91.7
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

primary
#C3A12D
secondary
#7F91CD
accent
#67E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C3A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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