#C3A52A#C3A52A

#C3A52A is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.137 H 94.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C3A52A
RGBrgb(195, 165, 42)
HSLhsl(48, 65%, 46%)
HSVhsv(48, 78%, 76%)
CMYKcmyk(0%, 15.4%, 78.5%, 23.5%)
CIE-LABlab(68.52, -1.28, 62.87)
CIE-LCHlch(68.52, 62.89, 91.16°)
OKLaboklab(72.83% -0.0105 0.1367)
OKLCHoklch(72.83% 0.137 94.4)
XYZxyz(36.3808, 38.6817, 7.7401)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A52A #2A48C3
analogous
#C3592A #C3A52A #95C32A
triadic
#C3A52A #2AC3A5 #A52AC3
tetradic
#C3A52A #2AC359 #2A48C3 #C32A95
square
#C3A52A #2AC359 #2A48C3 #C32A95
split-complementary
#C3A52A #2A95C3 #592AC3
monochromatic
#5E5014 #917A1F #C3A52A #D9BF51 #E4D183

Accessibility & contrast

On white

2.40
#C3A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C3A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A52A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A52A#FFFFFF#000000##000000
##C3A52A1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BFAB32
Tritanopia (blue-blind)
#D3978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c3a52a;
/* rgb */ color: rgb(195, 165, 42);
/* oklch */ color: oklch(72.8% 0.137 94.4);
Tailwind
colors: {
  custom: {
    50: '#dabf6e',
    500: '#c3a52a',
    950: '#000000',
  },
}
SCSS
$custom: #c3a52a;
$custom-light: #dabf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a52a",
  "rgb": {
    "r": 195,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 48.235,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.13713,
    "h": 94.4
  },
  "luminance": 0.3868
}

Semantic roles & 50–950 ramp

primary
#C3A52A
secondary
#7B8CCD
accent
#61E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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