#C2A334#C2A334

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

Color values

HEX#C2A334
RGBrgb(194, 163, 52)
HSLhsl(47, 58%, 48%)
HSVhsv(47, 73%, 76%)
CMYKcmyk(0%, 16%, 73.2%, 23.9%)
CIE-LABlab(67.96, -0.23, 58.70)
CIE-LCHlch(67.96, 58.70, 90.22°)
OKLaboklab(72.38% -0.0065 0.1299)
OKLCHoklch(72.38% 0.13 92.9)
XYZxyz(35.9671, 37.9137, 8.6718)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A334 #3453C2
analogous
#C25C34 #C2A334 #9AC234
triadic
#C2A334 #34C2A3 #A334C2
tetradic
#C2A334 #34C25C #3453C2 #C2349A
square
#C2A334 #34C25C #3453C2 #C2349A
split-complementary
#C2A334 #349AC2 #5C34C2
monochromatic
#61521A #927A27 #C2A334 #D4BB5F #E1CF8F

Accessibility & contrast

On white

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

On black

8.58
#C2A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A334
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A334#FFFFFF#000000##000000
##C2A3341.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a334;
/* rgb */ color: rgb(194, 163, 52);
/* oklch */ color: oklch(72.4% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#d8bd73',
    500: '#c2a334',
    950: '#000000',
  },
}
SCSS
$custom: #c2a334;
$custom-light: #d8bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a334",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 46.901,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72377,
    "c": 0.13004,
    "h": 92.9
  },
  "luminance": 0.37912
}

Semantic roles & 50–950 ramp

primary
#C2A334
secondary
#8695CC
accent
#68E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A334

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

Preview Lab → · Contrast checker → · Palette generator →

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