#C2A337#C2A337

#C2A337 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.4% C 0.128 H 92.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C2A337
RGBrgb(194, 163, 55)
HSLhsl(47, 56%, 49%)
HSVhsv(47, 72%, 76%)
CMYKcmyk(0%, 16%, 71.6%, 23.9%)
CIE-LABlab(67.98, -0.09, 57.54)
CIE-LCHlch(67.98, 57.54, 90.09°)
OKLaboklab(72.4% -0.0057 0.128)
OKLCHoklch(72.4% 0.128 92.6)
XYZxyz(36.0368, 37.9416, 9.0390)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A337 #3756C2
analogous
#C25E37 #C2A337 #9CC237
triadic
#C2A337 #37C2A3 #A337C2
tetradic
#C2A337 #37C25E #3756C2 #C2379C
square
#C2A337 #37C25E #3756C2 #C2379C
split-complementary
#C2A337 #379CC2 #5E37C2
monochromatic
#63531C #927B29 #C2A337 #D3BA63 #E0CF93

Accessibility & contrast

On white

2.45
#C2A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C2A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A337
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A337#FFFFFF#000000##000000
##C2A3371.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A027
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a337;
/* rgb */ color: rgb(194, 163, 55);
/* oklch */ color: oklch(72.4% 0.128 92.6);
Tailwind
colors: {
  custom: {
    50: '#d8bd74',
    500: '#c2a337',
    950: '#000000',
  },
}
SCSS
$custom: #c2a337;
$custom-light: #d8bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a337",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 46.619,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.724,
    "c": 0.12812,
    "h": 92.6
  },
  "luminance": 0.3794
}

Semantic roles & 50–950 ramp

primary
#C2A337
secondary
#8998CB
accent
#6ADF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A337

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

Preview Lab → · Contrast checker → · Palette generator →

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