#C3A22F#C3A22F

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

Color values

HEX#C3A22F
RGBrgb(195, 162, 47)
HSLhsl(47, 61%, 47%)
HSVhsv(47, 76%, 76%)
CMYKcmyk(0%, 16.9%, 75.9%, 23.5%)
CIE-LABlab(67.76, 0.52, 60.43)
CIE-LCHlch(67.76, 60.43, 89.50°)
OKLaboklab(72.24% -0.0049 0.1325)
OKLCHoklch(72.24% 0.133 92.1)
XYZxyz(35.9411, 37.6502, 8.0629)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A22F #2F50C3
analogous
#C3582F #C3A22F #9AC32F
triadic
#C3A22F #2FC3A2 #A22FC3
tetradic
#C3A22F #2FC358 #2F50C3 #C32F9A
square
#C3A22F #2FC358 #2F50C3 #C32F9A
split-complementary
#C3A22F #2F9AC3 #582FC3
monochromatic
#605017 #927923 #C3A22F #D7BB58 #E3CF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3A22F#FFFFFF#000000##000000
##C3A22F1.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)
#B4A01A
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#D3948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a22f;
/* rgb */ color: rgb(195, 162, 47);
/* oklch */ color: oklch(72.2% 0.133 92.1);
Tailwind
colors: {
  custom: {
    50: '#d9bd70',
    500: '#c3a22f',
    950: '#000000',
  },
}
SCSS
$custom: #c3a22f;
$custom-light: #d9bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a22f",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 46.622,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72236,
    "c": 0.13261,
    "h": 92.1
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

primary
#C3A22F
secondary
#8192CD
accent
#67E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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