#C2A951#C2A951

#C2A951 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.9% C 0.112 H 93.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C2A951
RGBrgb(194, 169, 81)
HSLhsl(47, 48%, 54%)
HSVhsv(47, 58%, 76%)
CMYKcmyk(0%, 12.9%, 58.2%, 23.9%)
CIE-LABlab(69.78, -1.66, 47.95)
CIE-LCHlch(69.78, 47.98, 91.98°)
OKLaboklab(73.9% -0.0071 0.1116)
OKLCHoklch(73.9% 0.112 93.6)
XYZxyz(37.9229, 40.4412, 13.5914)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A951 #516AC2
analogous
#C27151 #C2A951 #A3C251
triadic
#C2A951 #51C2A9 #A951C2
tetradic
#C2A951 #51C271 #516AC2 #C251A3
square
#C2A951 #51C271 #516AC2 #C251A3
split-complementary
#C2A951 #51A3C2 #7151C2
monochromatic
#716128 #9E8837 #C2A951 #D2BF7E #E2D6AC

Accessibility & contrast

On white

2.31
#C2A951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#C2A951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A951
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A951#FFFFFF#000000##000000
##C2A9511.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a951;
/* rgb */ color: rgb(194, 169, 81);
/* oklch */ color: oklch(73.9% 0.112 93.6);
Tailwind
colors: {
  custom: {
    50: '#d7c285',
    500: '#c2a951',
    950: '#000000',
  },
}
SCSS
$custom: #c2a951;
$custom-light: #d7c285;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a951",
  "rgb": {
    "r": 194,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 46.726,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.739,
    "c": 0.11178,
    "h": 93.6
  },
  "luminance": 0.40439
}

Semantic roles & 50–950 ramp

primary
#C2A951
secondary
#9FAAD0
accent
#6ED850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2A951

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

Preview Lab → · Contrast checker → · Palette generator →

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