#C2A531#C2A531

#C2A531 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.8% C 0.133 H 94.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C2A531
RGBrgb(194, 165, 49)
HSLhsl(48, 60%, 48%)
HSVhsv(48, 75%, 76%)
CMYKcmyk(0%, 14.9%, 74.7%, 23.9%)
CIE-LABlab(68.46, -1.43, 60.33)
CIE-LCHlch(68.46, 60.35, 91.36°)
OKLaboklab(72.77% -0.0102 0.1327)
OKLCHoklch(72.77% 0.133 94.4)
XYZxyz(36.2596, 38.6034, 8.4465)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A531 #314EC2
analogous
#C25C31 #C2A531 #96C231
triadic
#C2A531 #31C2A5 #A531C2
tetradic
#C2A531 #31C25C #314EC2 #C23196
square
#C2A531 #31C25C #314EC2 #C23196
split-complementary
#C2A531 #3196C2 #5C31C2
monochromatic
#605218 #917B25 #C2A531 #D6BD5B #E2D18C

Accessibility & contrast

On white

2.41
#C2A531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C2A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A531
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A531#FFFFFF#000000##000000
##C2A5311.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21D
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#D2988E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a531;
/* rgb */ color: rgb(194, 165, 49);
/* oklch */ color: oklch(72.8% 0.133 94.4);
Tailwind
colors: {
  custom: {
    50: '#d9bf71',
    500: '#c2a531',
    950: '#000000',
  },
}
SCSS
$custom: #c2a531;
$custom-light: #d9bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a531",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 48,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.13313,
    "h": 94.4
  },
  "luminance": 0.38601
}

Semantic roles & 50–950 ramp

primary
#C2A531
secondary
#8391CC
accent
#65E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A531

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

Preview Lab → · Contrast checker → · Palette generator →

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