#C3A121#C3A121

#C3A121 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 72.0% C 0.139 H 92.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C3A121
RGBrgb(195, 161, 33)
HSLhsl(47, 71%, 45%)
HSVhsv(47, 83%, 76%)
CMYKcmyk(0%, 17.4%, 83.1%, 23.5%)
CIE-LABlab(67.43, 0.56, 64.70)
CIE-LCHlch(67.43, 64.70, 89.50°)
OKLaboklab(71.95% -0.0061 0.1388)
OKLCHoklch(71.95% 0.139 92.5)
XYZxyz(35.5272, 37.2039, 6.7484)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A121 #2143C3
analogous
#C35021 #C3A121 #94C321
triadic
#C3A121 #21C3A1 #A121C3
tetradic
#C3A121 #21C350 #2143C3 #C32194
square
#C3A121 #21C350 #2143C3 #C32194
split-complementary
#C3A121 #2194C3 #5021C3
monochromatic
#5A4B0F #8F7618 #C3A121 #DFBE42 #E8D077

Accessibility & contrast

On white

2.49
#C3A121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C3A121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A121
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A121#FFFFFF#000000##000000
##C3A1211.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#BCA82A
Tritanopia (blue-blind)
#D4938A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c3a121;
/* rgb */ color: rgb(195, 161, 33);
/* oklch */ color: oklch(72.0% 0.139 92.5);
Tailwind
colors: {
  custom: {
    50: '#dabc6a',
    500: '#c3a121',
    950: '#000000',
  },
}
SCSS
$custom: #c3a121;
$custom-light: #dabc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a121",
  "rgb": {
    "r": 195,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 47.407,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71951,
    "c": 0.13893,
    "h": 92.5
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#C3A121
secondary
#7184CF
accent
#60EE3A
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C3A121

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

Preview Lab → · Contrast checker → · Palette generator →

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