#C2A548#C2A548

#C2A548 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.117 H 91.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#C2A548
RGBrgb(194, 165, 72)
HSLhsl(46, 50%, 52%)
HSVhsv(46, 63%, 76%)
CMYKcmyk(0%, 14.9%, 62.9%, 23.9%)
CIE-LABlab(68.64, -0.17, 50.89)
CIE-LCHlch(68.64, 50.89, 90.19°)
OKLaboklab(72.97% -0.0039 0.1167)
OKLCHoklch(72.97% 0.117 91.9)
XYZxyz(36.8747, 38.8495, 11.6860)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A548 #4865C2
analogous
#C26848 #C2A548 #A2C248
triadic
#C2A548 #48C2A5 #A548C2
tetradic
#C2A548 #48C268 #4865C2 #C248A2
square
#C2A548 #48C268 #4865C2 #C248A2
split-complementary
#C2A548 #48A2C2 #6848C2
monochromatic
#6C5B24 #9A8133 #C2A548 #D1BC76 #E1D2A4

Accessibility & contrast

On white

2.39
#C2A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#C2A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A548
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A548#FFFFFF#000000##000000
##C2A5481.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33E
Deuteranopia (green-blind)
#BDAB4C
Tritanopia (blue-blind)
#D19991
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a548;
/* rgb */ color: rgb(194, 165, 72);
/* oklch */ color: oklch(73.0% 0.117 91.9);
Tailwind
colors: {
  custom: {
    50: '#d8bf7f',
    500: '#c2a548',
    950: '#000000',
  },
}
SCSS
$custom: #c2a548;
$custom-light: #d8bf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a548",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 45.738,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7297,
    "c": 0.11675,
    "h": 91.9
  },
  "luminance": 0.38847
}

Semantic roles & 50–950 ramp

primary
#C2A548
secondary
#98A5CE
accent
#6FDA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A548

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

Preview Lab → · Contrast checker → · Palette generator →

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