#C2A64F#C2A64F

#C2A64F is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.3% C 0.111 H 91.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#C2A64F
RGBrgb(194, 166, 79)
HSLhsl(45, 49%, 54%)
HSVhsv(45, 59%, 76%)
CMYKcmyk(0%, 14.4%, 59.3%, 23.9%)
CIE-LABlab(68.97, -0.21, 47.98)
CIE-LCHlch(68.97, 47.98, 90.25°)
OKLaboklab(73.25% -0.0032 0.1114)
OKLCHoklch(73.25% 0.111 91.6)
XYZxyz(37.2973, 39.3082, 13.0183)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A64F #4F6BC2
analogous
#C26C4F #C2A64F #A4C24F
triadic
#C2A64F #4FC2A6 #A64FC2
tetradic
#C2A64F #4FC26C #4F6BC2 #C24FA4
square
#C2A64F #4FC26C #4F6BC2 #C24FA4
split-complementary
#C2A64F #4FA4C2 #6C4FC2
monochromatic
#705E27 #9D8437 #C2A64F #D2BD7C #E2D4AA

Accessibility & contrast

On white

2.37
#C2A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#C2A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A64F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A64F#FFFFFF#000000##000000
##C2A64F1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A446
Deuteranopia (green-blind)
#BDAC53
Tritanopia (blue-blind)
#D09A93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a64f;
/* rgb */ color: rgb(194, 166, 79);
/* oklch */ color: oklch(73.3% 0.111 91.6);
Tailwind
colors: {
  custom: {
    50: '#d7c083',
    500: '#c2a64f',
    950: '#000000',
  },
}
SCSS
$custom: #c2a64f;
$custom-light: #d7c083;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a64f",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 45.391,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.11142,
    "h": 91.6
  },
  "luminance": 0.39306
}

Semantic roles & 50–950 ramp

primary
#C2A64F
secondary
#9EAACF
accent
#71D850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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