#C3A12E#C3A12E

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

Color values

HEX#C3A12E
RGBrgb(195, 161, 46)
HSLhsl(46, 62%, 47%)
HSVhsv(46, 76%, 76%)
CMYKcmyk(0%, 17.4%, 76.4%, 23.5%)
CIE-LABlab(67.50, 1.02, 60.54)
CIE-LCHlch(67.50, 60.55, 89.04°)
OKLaboklab(72.02% -0.0036 0.1326)
OKLCHoklch(72.02% 0.133 91.6)
XYZxyz(35.7457, 37.2913, 7.8994)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A12E #2E50C3
analogous
#C3572E #C3A12E #9AC32E
triadic
#C3A12E #2EC3A1 #A12EC3
tetradic
#C3A12E #2EC357 #2E50C3 #C32E9A
square
#C3A12E #2EC357 #2E50C3 #C32E9A
split-complementary
#C3A12E #2E9AC3 #572EC3
monochromatic
#604F17 #917822 #C3A12E #D7BA57 #E3CE88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3A12E#FFFFFF#000000##000000
##C3A12E1.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)
#B39F19
Deuteranopia (green-blind)
#BCA835
Tritanopia (blue-blind)
#D3938B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c3a12e;
/* rgb */ color: rgb(195, 161, 46);
/* oklch */ color: oklch(72.0% 0.133 91.6);
Tailwind
colors: {
  custom: {
    50: '#d9bc6f',
    500: '#c3a12e',
    950: '#000000',
  },
}
SCSS
$custom: #c3a12e;
$custom-light: #d9bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a12e",
  "rgb": {
    "r": 195,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 46.309,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72023,
    "c": 0.1326,
    "h": 91.6
  },
  "luminance": 0.37289
}

Semantic roles & 50–950 ramp

primary
#C3A12E
secondary
#8092CD
accent
#68E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C3A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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