#C3A42A#C3A42A

#C3A42A is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.6% C 0.137 H 93.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#C3A42A
RGBrgb(195, 164, 42)
HSLhsl(48, 65%, 46%)
HSVhsv(48, 78%, 76%)
CMYKcmyk(0%, 15.9%, 78.5%, 23.5%)
CIE-LABlab(68.26, -0.74, 62.64)
CIE-LCHlch(68.26, 62.64, 90.68°)
OKLaboklab(72.62% -0.009 0.1362)
OKLCHoklch(72.62% 0.137 93.8)
XYZxyz(36.2011, 38.3223, 7.6802)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A42A #2A49C3
analogous
#C3582A #C3A42A #96C32A
triadic
#C3A42A #2AC3A4 #A42AC3
tetradic
#C3A42A #2AC358 #2A49C3 #C32A96
square
#C3A42A #2AC358 #2A49C3 #C32A96
split-complementary
#C3A42A #2A96C3 #582AC3
monochromatic
#5E4F14 #917A1F #C3A42A #D9BE51 #E4D183

Accessibility & contrast

On white

2.42
#C3A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#C3A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A42A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A42A#FFFFFF#000000##000000
##C3A42A1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#D3968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c3a42a;
/* rgb */ color: rgb(195, 164, 42);
/* oklch */ color: oklch(72.6% 0.137 93.8);
Tailwind
colors: {
  custom: {
    50: '#dabe6e',
    500: '#c3a42a',
    950: '#000000',
  },
}
SCSS
$custom: #c3a42a;
$custom-light: #dabe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a42a",
  "rgb": {
    "r": 195,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 47.843,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72618,
    "c": 0.13651,
    "h": 93.8
  },
  "luminance": 0.3832
}

Semantic roles & 50–950 ramp

primary
#C3A42A
secondary
#7B8CCD
accent
#62E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#151208
muted
#84817B

Preview Lab

Preview with #C3A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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