#C2A857#C2A857

#C2A857 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.8% C 0.105 H 91.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C2A857
RGBrgb(194, 168, 87)
HSLhsl(45, 47%, 55%)
HSVhsv(45, 55%, 76%)
CMYKcmyk(0%, 13.4%, 55.2%, 23.9%)
CIE-LABlab(69.59, -0.65, 44.81)
CIE-LCHlch(69.59, 44.81, 90.84°)
OKLaboklab(73.77% -0.0035 0.1054)
OKLCHoklch(73.77% 0.105 91.9)
XYZxyz(37.9726, 40.1645, 14.7674)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A857 #5771C2
analogous
#C27357 #C2A857 #A6C257
triadic
#C2A857 #57C2A8 #A857C2
tetradic
#C2A857 #57C273 #5771C2 #C257A6
square
#C2A857 #57C273 #5771C2 #C257A6
split-complementary
#C2A857 #57A6C2 #7357C2
monochromatic
#74622A #A1883B #C2A857 #D2BF84 #E3D7B1

Accessibility & contrast

On white

2.32
#C2A857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#C2A857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A857
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A857#FFFFFF#000000##000000
##C2A8571.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A650
Deuteranopia (green-blind)
#BEAD5A
Tritanopia (blue-blind)
#D09D95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2a857;
/* rgb */ color: rgb(194, 168, 87);
/* oklch */ color: oklch(73.8% 0.105 91.9);
Tailwind
colors: {
  custom: {
    50: '#d7c188',
    500: '#c2a857',
    950: '#000000',
  },
}
SCSS
$custom: #c2a857;
$custom-light: #d7c188;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a857",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 87
  },
  "hsl": {
    "h": 45.421,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.73766,
    "c": 0.10547,
    "h": 91.9
  },
  "luminance": 0.40163
}

Semantic roles & 50–950 ramp

primary
#C2A857
secondary
#A4AFD1
accent
#72D651
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D

Preview Lab

Preview with #C2A857

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

Preview Lab → · Contrast checker → · Palette generator →

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