#C2A345#C2A345

#C2A345 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.118 H 90.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#C2A345
RGBrgb(194, 163, 69)
HSLhsl(45, 51%, 52%)
HSVhsv(45, 64%, 76%)
CMYKcmyk(0%, 16%, 64.4%, 23.9%)
CIE-LABlab(68.09, 0.71, 51.66)
CIE-LCHlch(68.09, 51.66, 89.21°)
OKLaboklab(72.53% -0.0017 0.1179)
OKLCHoklch(72.53% 0.118 90.9)
XYZxyz(36.4213, 38.0954, 11.0638)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A345 #4564C2
analogous
#C26545 #C2A345 #A3C245
triadic
#C2A345 #45C2A3 #A345C2
tetradic
#C2A345 #45C265 #4564C2 #C245A3
square
#C2A345 #45C265 #4564C2 #C245A3
split-complementary
#C2A345 #45A3C2 #6545C2
monochromatic
#6A5823 #987F32 #C2A345 #D1BA73 #E0D1A1

Accessibility & contrast

On white

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

On black

8.62
#C2A345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A345
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A345#FFFFFF#000000##000000
##C2A3451.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#D1978F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a345;
/* rgb */ color: rgb(194, 163, 69);
/* oklch */ color: oklch(72.5% 0.118 90.9);
Tailwind
colors: {
  custom: {
    50: '#d8be7d',
    500: '#c2a345',
    950: '#000000',
  },
}
SCSS
$custom: #c2a345;
$custom-light: #d8be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a345",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 45.12,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.11789,
    "h": 90.9
  },
  "luminance": 0.38093
}

Semantic roles & 50–950 ramp

primary
#C2A345
secondary
#96A4CD
accent
#71DA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A345

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

Preview Lab → · Contrast checker → · Palette generator →

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