#C2A539#C2A539

#C2A539 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.128 H 93.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C2A539
RGBrgb(194, 165, 57)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 76%)
CMYKcmyk(0%, 14.9%, 70.6%, 23.9%)
CIE-LABlab(68.52, -1.05, 57.27)
CIE-LCHlch(68.52, 57.28, 91.05°)
OKLaboklab(72.83% -0.0083 0.1278)
OKLCHoklch(72.83% 0.128 93.7)
XYZxyz(36.4437, 38.6770, 9.4160)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A539 #3956C2
analogous
#C26039 #C2A539 #9BC239
triadic
#C2A539 #39C2A5 #A539C2
tetradic
#C2A539 #39C260 #3956C2 #C2399B
square
#C2A539 #39C260 #3956C2 #C2399B
split-complementary
#C2A539 #399BC2 #6039C2
monochromatic
#63551D #937D2B #C2A539 #D2BB66 #E0D095

Accessibility & contrast

On white

2.40
#C2A539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C2A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A539
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A539#FFFFFF#000000##000000
##C2A5391.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22A
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#D2988F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a539;
/* rgb */ color: rgb(194, 165, 57);
/* oklch */ color: oklch(72.8% 0.128 93.7);
Tailwind
colors: {
  custom: {
    50: '#d8bf76',
    500: '#c2a539',
    950: '#000000',
  },
}
SCSS
$custom: #c2a539;
$custom-light: #d8bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a539",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 47.299,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.12806,
    "h": 93.7
  },
  "luminance": 0.38675
}

Semantic roles & 50–950 ramp

primary
#C2A539
secondary
#8B99CB
accent
#69DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A539

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

Preview Lab → · Contrast checker → · Palette generator →

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