#C3A23A#C3A23A

#C3A23A is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.126 H 91.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C3A23A
RGBrgb(195, 162, 58)
HSLhsl(46, 54%, 50%)
HSVhsv(46, 70%, 76%)
CMYKcmyk(0%, 16.9%, 70.3%, 23.5%)
CIE-LABlab(67.84, 1.04, 56.21)
CIE-LCHlch(67.84, 56.22, 88.94°)
OKLaboklab(72.32% -0.0022 0.1257)
OKLCHoklch(72.32% 0.126 91)
XYZxyz(36.1917, 37.7504, 9.3825)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A23A #3A5BC3
analogous
#C35D3A #C3A23A #A0C33A
triadic
#C3A23A #3AC3A2 #A23AC3
tetradic
#C3A23A #3AC35D #3A5BC3 #C33AA0
square
#C3A23A #3AC35D #3A5BC3 #C33AA0
split-complementary
#C3A23A #3AA0C3 #5D3AC3
monochromatic
#65541E #947B2C #C3A23A #D2B968 #E0CF97

Accessibility & contrast

On white

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

On black

8.55
#C3A23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A23A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A23A#FFFFFF#000000##000000
##C3A23A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02C
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#D3958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a23a;
/* rgb */ color: rgb(195, 162, 58);
/* oklch */ color: oklch(72.3% 0.126 91.0);
Tailwind
colors: {
  custom: {
    50: '#d9bd76',
    500: '#c3a23a',
    950: '#000000',
  },
}
SCSS
$custom: #c3a23a;
$custom-light: #d9bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a23a",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 45.547,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.12569,
    "h": 91
  },
  "luminance": 0.37748
}

Semantic roles & 50–950 ramp

primary
#C3A23A
secondary
#8D9CCC
accent
#6EDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A23A

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

Preview Lab → · Contrast checker → · Palette generator →

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