#C2A535#C2A535

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

Color values

HEX#C2A535
RGBrgb(194, 165, 53)
HSLhsl(48, 57%, 48%)
HSVhsv(48, 73%, 76%)
CMYKcmyk(0%, 14.9%, 72.7%, 23.9%)
CIE-LABlab(68.49, -1.25, 58.84)
CIE-LCHlch(68.49, 58.85, 91.22°)
OKLaboklab(72.8% -0.0093 0.1304)
OKLCHoklch(72.8% 0.131 94.1)
XYZxyz(36.3478, 38.6387, 8.9110)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A535 #3552C2
analogous
#C25F35 #C2A535 #98C235
triadic
#C2A535 #35C2A5 #A535C2
tetradic
#C2A535 #35C25F #3552C2 #C23598
square
#C2A535 #35C25F #3552C2 #C23598
split-complementary
#C2A535 #3598C2 #5F35C2
monochromatic
#62531B #927C28 #C2A535 #D4BC60 #E1D091

Accessibility & contrast

On white

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

On black

8.73
#C2A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A535
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A535#FFFFFF#000000##000000
##C2A5351.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a535;
/* rgb */ color: rgb(194, 165, 53);
/* oklch */ color: oklch(72.8% 0.131 94.1);
Tailwind
colors: {
  custom: {
    50: '#d8bf74',
    500: '#c2a535',
    950: '#000000',
  },
}
SCSS
$custom: #c2a535;
$custom-light: #d8bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a535",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 47.66,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.728,
    "c": 0.13068,
    "h": 94.1
  },
  "luminance": 0.38637
}

Semantic roles & 50–950 ramp

primary
#C2A535
secondary
#8795CC
accent
#67E047
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A535

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

Preview Lab → · Contrast checker → · Palette generator →

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