#C2A534#C2A534

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

Color values

HEX#C2A534
RGBrgb(194, 165, 52)
HSLhsl(48, 58%, 48%)
HSVhsv(48, 73%, 76%)
CMYKcmyk(0%, 14.9%, 73.2%, 23.9%)
CIE-LABlab(68.48, -1.30, 59.22)
CIE-LCHlch(68.48, 59.23, 91.26°)
OKLaboklab(72.79% -0.0095 0.131)
OKLCHoklch(72.79% 0.131 94.2)
XYZxyz(36.3250, 38.6296, 8.7911)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A534 #3451C2
analogous
#C25E34 #C2A534 #98C234
triadic
#C2A534 #34C2A5 #A534C2
tetradic
#C2A534 #34C25E #3451C2 #C23498
square
#C2A534 #34C25E #3451C2 #C23498
split-complementary
#C2A534 #3498C2 #5E34C2
monochromatic
#61531A #927C27 #C2A534 #D4BC5F #E1D08F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A534#FFFFFF#000000##000000
##C2A5341.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)
#B7A222
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#D2988F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a534;
/* rgb */ color: rgb(194, 165, 52);
/* oklch */ color: oklch(72.8% 0.131 94.2);
Tailwind
colors: {
  custom: {
    50: '#d8bf73',
    500: '#c2a534',
    950: '#000000',
  },
}
SCSS
$custom: #c2a534;
$custom-light: #d8bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a534",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 47.746,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.13132,
    "h": 94.2
  },
  "luminance": 0.38628
}

Semantic roles & 50–950 ramp

primary
#C2A534
secondary
#8694CC
accent
#66E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A534

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

Preview Lab → · Contrast checker → · Palette generator →

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