#C2A837#C2A837

#C2A837 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.4% C 0.131 H 95.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C2A837
RGBrgb(194, 168, 55)
HSLhsl(49, 56%, 49%)
HSVhsv(49, 72%, 76%)
CMYKcmyk(0%, 13.4%, 71.6%, 23.9%)
CIE-LABlab(69.29, -2.75, 58.85)
CIE-LCHlch(69.29, 58.91, 92.67°)
OKLaboklab(73.44% -0.0133 0.1308)
OKLCHoklch(73.44% 0.131 95.8)
XYZxyz(36.9422, 39.7524, 9.3408)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A837 #3751C2
analogous
#C26337 #C2A837 #97C237
triadic
#C2A837 #37C2A8 #A837C2
tetradic
#C2A837 #37C263 #3751C2 #C23797
square
#C2A837 #37C263 #3751C2 #C23797
split-complementary
#C2A837 #3797C2 #6337C2
monochromatic
#63551C #927F29 #C2A837 #D3BE63 #E0D293

Accessibility & contrast

On white

2.35
#C2A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C2A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A837
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A837#FFFFFF#000000##000000
##C2A8371.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#D19B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a837;
/* rgb */ color: rgb(194, 168, 55);
/* oklch */ color: oklch(73.4% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#d8c175',
    500: '#c2a837',
    950: '#000000',
  },
}
SCSS
$custom: #c2a837;
$custom-light: #d8c175;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a837",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 48.777,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.13143,
    "h": 95.8
  },
  "luminance": 0.3975
}

Semantic roles & 50–950 ramp

primary
#C2A837
secondary
#8996CB
accent
#65DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A837

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

Preview Lab → · Contrast checker → · Palette generator →

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