#C3A23D#C3A23D

#C3A23D is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.124 H 90.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C3A23D
RGBrgb(195, 162, 61)
HSLhsl(45, 53%, 50%)
HSVhsv(45, 69%, 76%)
CMYKcmyk(0%, 16.9%, 68.7%, 23.5%)
CIE-LABlab(67.86, 1.20, 54.97)
CIE-LCHlch(67.86, 54.98, 88.75°)
OKLaboklab(72.34% -0.0014 0.1236)
OKLCHoklch(72.34% 0.124 90.6)
XYZxyz(36.2702, 37.7818, 9.7962)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A23D #3D5EC3
analogous
#C35F3D #C3A23D #A1C33D
triadic
#C3A23D #3DC3A2 #A23DC3
tetradic
#C3A23D #3DC35F #3D5EC3 #C33DA1
square
#C3A23D #3DC35F #3D5EC3 #C33DA1
split-complementary
#C3A23D #3DA1C3 #5F3DC3
monochromatic
#665520 #957B2E #C3A23D #D1B86C #E0CF9A

Accessibility & contrast

On white

2.45
#C3A23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C3A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A23D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A23D#FFFFFF#000000##000000
##C3A23D1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3a23d;
/* rgb */ color: rgb(195, 162, 61);
/* oklch */ color: oklch(72.3% 0.124 90.6);
Tailwind
colors: {
  custom: {
    50: '#d9bd78',
    500: '#c3a23d',
    950: '#000000',
  },
}
SCSS
$custom: #c3a23d;
$custom-light: #d9bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a23d",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 45.224,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.12359,
    "h": 90.6
  },
  "luminance": 0.3778
}

Semantic roles & 50–950 ramp

primary
#C3A23D
secondary
#909FCC
accent
#6FDC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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