#C3A342#C3A342

#C3A342 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.6% C 0.120 H 90.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#C3A342
RGBrgb(195, 163, 66)
HSLhsl(45, 52%, 51%)
HSVhsv(45, 66%, 76%)
CMYKcmyk(0%, 16.4%, 66.2%, 23.5%)
CIE-LABlab(68.16, 0.96, 53.11)
CIE-LCHlch(68.16, 53.12, 88.97°)
OKLaboklab(72.6% -0.0015 0.1205)
OKLCHoklch(72.6% 0.12 90.7)
XYZxyz(36.5881, 38.1919, 10.5978)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A342 #4262C3
analogous
#C36242 #C3A342 #A2C342
triadic
#C3A342 #42C3A3 #A342C3
tetradic
#C3A342 #42C362 #4262C3 #C342A2
square
#C3A342 #42C362 #4262C3 #C342A2
split-complementary
#C3A342 #42A2C3 #6242C3
monochromatic
#695721 #987E30 #C3A342 #D2BA70 #E0D09F

Accessibility & contrast

On white

2.43
#C3A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#C3A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A342
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A342#FFFFFF#000000##000000
##C3A3421.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A137
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#D2968E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c3a342;
/* rgb */ color: rgb(195, 163, 66);
/* oklch */ color: oklch(72.6% 0.120 90.7);
Tailwind
colors: {
  custom: {
    50: '#d9bd7b',
    500: '#c3a342',
    950: '#000000',
  },
}
SCSS
$custom: #c3a342;
$custom-light: #d9bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a342",
  "rgb": {
    "r": 195,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 45.116,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72596,
    "c": 0.12048,
    "h": 90.7
  },
  "luminance": 0.3819
}

Semantic roles & 50–950 ramp

primary
#C3A342
secondary
#94A2CD
accent
#70DB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C3A342

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

Preview Lab → · Contrast checker → · Palette generator →

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