#C2A645#C2A645

#C2A645 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.120 H 93.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#C2A645
RGBrgb(194, 166, 69)
HSLhsl(47, 51%, 52%)
HSVhsv(47, 64%, 76%)
CMYKcmyk(0%, 14.4%, 64.4%, 23.9%)
CIE-LABlab(68.88, -0.90, 52.51)
CIE-LCHlch(68.88, 52.52, 90.98°)
OKLaboklab(73.15% -0.0064 0.1197)
OKLCHoklch(73.15% 0.12 93.1)
XYZxyz(36.9603, 39.1734, 11.2435)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A645 #4561C2
analogous
#C26845 #C2A645 #A0C245
triadic
#C2A645 #45C2A6 #A645C2
tetradic
#C2A645 #45C268 #4561C2 #C245A0
square
#C2A645 #45C268 #4561C2 #C245A0
split-complementary
#C2A645 #45A0C2 #6845C2
monochromatic
#6A5A23 #988132 #C2A645 #D1BC73 #E0D2A1

Accessibility & contrast

On white

2.38
#C2A645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#C2A645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A645
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A645#FFFFFF#000000##000000
##C2A6451.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A33A
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#D19A91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a645;
/* rgb */ color: rgb(194, 166, 69);
/* oklch */ color: oklch(73.1% 0.120 93.1);
Tailwind
colors: {
  custom: {
    50: '#d8c07d',
    500: '#c2a645',
    950: '#000000',
  },
}
SCSS
$custom: #c2a645;
$custom-light: #d8c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a645",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 46.56,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.11986,
    "h": 93.1
  },
  "luminance": 0.39171
}

Semantic roles & 50–950 ramp

primary
#C2A645
secondary
#96A2CD
accent
#6DDA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A645

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

Preview Lab → · Contrast checker → · Palette generator →

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