#C2A342#C2A342

#C2A342 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.120 H 91.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C2A342
RGBrgb(194, 163, 66)
HSLhsl(45, 51%, 51%)
HSVhsv(45, 66%, 76%)
CMYKcmyk(0%, 16%, 66%, 23.9%)
CIE-LABlab(68.06, 0.52, 52.97)
CIE-LCHlch(68.06, 52.98, 89.44°)
OKLaboklab(72.5% -0.0027 0.1202)
OKLCHoklch(72.5% 0.12 91.3)
XYZxyz(36.3305, 38.0591, 10.5857)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A342 #4261C2
analogous
#C26342 #C2A342 #A1C242
triadic
#C2A342 #42C2A3 #A342C2
tetradic
#C2A342 #42C263 #4261C2 #C242A1
square
#C2A342 #42C263 #4261C2 #C242A1
split-complementary
#C2A342 #42A1C2 #6342C2
monochromatic
#685722 #967E31 #C2A342 #D1BA70 #E0D09F

Accessibility & contrast

On white

2.44
#C2A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C2A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A342
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A342#FFFFFF#000000##000000
##C2A3421.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a342;
/* rgb */ color: rgb(194, 163, 66);
/* oklch */ color: oklch(72.5% 0.120 91.3);
Tailwind
colors: {
  custom: {
    50: '#d8bd7b',
    500: '#c2a342',
    950: '#000000',
  },
}
SCSS
$custom: #c2a342;
$custom-light: #d8bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a342",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 45.469,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72496,
    "c": 0.12024,
    "h": 91.3
  },
  "luminance": 0.38057
}

Semantic roles & 50–950 ramp

primary
#C2A342
secondary
#94A1CC
accent
#6FDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A342

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

Preview Lab → · Contrast checker → · Palette generator →

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