#C3A22B#C3A22B

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

Color values

HEX#C3A22B
RGBrgb(195, 162, 43)
HSLhsl(47, 64%, 47%)
HSVhsv(47, 78%, 76%)
CMYKcmyk(0%, 16.9%, 77.9%, 23.5%)
CIE-LABlab(67.74, 0.36, 61.82)
CIE-LCHlch(67.74, 61.83, 89.66°)
OKLaboklab(72.21% -0.0058 0.1347)
OKLCHoklch(72.21% 0.135 92.5)
XYZxyz(35.8641, 37.6194, 7.6573)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A22B #2B4CC3
analogous
#C3562B #C3A22B #98C32B
triadic
#C3A22B #2BC3A2 #A22BC3
tetradic
#C3A22B #2BC356 #2B4CC3 #C32B98
square
#C3A22B #2BC356 #2B4CC3 #C32B98
split-complementary
#C3A22B #2B98C3 #562BC3
monochromatic
#5F4F15 #917820 #C3A22B #D9BC52 #E4CF84

Accessibility & contrast

On white

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

On black

8.52
#C3A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A22B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A22B#FFFFFF#000000##000000
##C3A22B1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F12
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#D3948B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a22b;
/* rgb */ color: rgb(195, 162, 43);
/* oklch */ color: oklch(72.2% 0.135 92.5);
Tailwind
colors: {
  custom: {
    50: '#dabd6e',
    500: '#c3a22b',
    950: '#000000',
  },
}
SCSS
$custom: #c3a22b;
$custom-light: #dabd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a22b",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 46.974,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.13479,
    "h": 92.5
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

primary
#C3A22B
secondary
#7D8ECD
accent
#65E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#151208
muted
#84817B

Preview Lab

Preview with #C3A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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