#C3A231#C3A231

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

Color values

HEX#C3A231
RGBrgb(195, 162, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 76%)
CMYKcmyk(0%, 16.9%, 74.9%, 23.5%)
CIE-LABlab(67.77, 0.61, 59.70)
CIE-LCHlch(67.77, 59.71, 89.42°)
OKLaboklab(72.25% -0.0045 0.1314)
OKLCHoklch(72.25% 0.131 91.9)
XYZxyz(35.9824, 37.6667, 8.2803)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A231 #3152C3
analogous
#C35931 #C3A231 #9BC331
triadic
#C3A231 #31C3A2 #A231C3
tetradic
#C3A231 #31C359 #3152C3 #C3319B
square
#C3A231 #31C359 #3152C3 #C3319B
split-complementary
#C3A231 #319BC3 #5931C3
monochromatic
#615118 #927925 #C3A231 #D6BA5B #E2CF8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3A231#FFFFFF#000000##000000
##C3A2311.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)
#B4A01E
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#D3948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a231;
/* rgb */ color: rgb(195, 162, 49);
/* oklch */ color: oklch(72.3% 0.131 91.9);
Tailwind
colors: {
  custom: {
    50: '#d9bd71',
    500: '#c3a231',
    950: '#000000',
  },
}
SCSS
$custom: #c3a231;
$custom-light: #d9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a231",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 46.438,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7225,
    "c": 0.13145,
    "h": 91.9
  },
  "luminance": 0.37665
}

Semantic roles & 50–950 ramp

primary
#C3A231
secondary
#8394CC
accent
#69E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A231

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

Preview Lab → · Contrast checker → · Palette generator →

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