#C3A22D#C3A22D

#C3A22D is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.134 H 92.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C3A22D
RGBrgb(195, 162, 45)
HSLhsl(47, 63%, 47%)
HSVhsv(47, 77%, 76%)
CMYKcmyk(0%, 16.9%, 76.9%, 23.5%)
CIE-LABlab(67.75, 0.44, 61.14)
CIE-LCHlch(67.75, 61.14, 89.59°)
OKLaboklab(72.22% -0.0054 0.1336)
OKLCHoklch(72.22% 0.134 92.3)
XYZxyz(35.9017, 37.6344, 7.8553)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A22D #2D4EC3
analogous
#C3572D #C3A22D #99C32D
triadic
#C3A22D #2DC3A2 #A22DC3
tetradic
#C3A22D #2DC357 #2D4EC3 #C32D99
square
#C3A22D #2DC357 #2D4EC3 #C32D99
split-complementary
#C3A22D #2D99C3 #572DC3
monochromatic
#604F16 #917922 #C3A22D #D8BB55 #E3CF87

Accessibility & contrast

On white

2.46
#C3A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C3A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A22D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A22D#FFFFFF#000000##000000
##C3A22D1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A016
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#D3948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a22d;
/* rgb */ color: rgb(195, 162, 45);
/* oklch */ color: oklch(72.2% 0.134 92.3);
Tailwind
colors: {
  custom: {
    50: '#d9bd6f',
    500: '#c3a22d',
    950: '#000000',
  },
}
SCSS
$custom: #c3a22d;
$custom-light: #d9bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a22d",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 46.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.13373,
    "h": 92.3
  },
  "luminance": 0.37632
}

Semantic roles & 50–950 ramp

primary
#C3A22D
secondary
#7F90CD
accent
#66E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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