#C2A034#C2A034

#C2A034 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.8% C 0.128 H 90.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C2A034
RGBrgb(194, 160, 52)
HSLhsl(46, 58%, 48%)
HSVhsv(46, 73%, 76%)
CMYKcmyk(0%, 17.5%, 73.2%, 23.9%)
CIE-LABlab(67.17, 1.38, 57.94)
CIE-LCHlch(67.17, 57.95, 88.64°)
OKLaboklab(71.76% -0.0019 0.1283)
OKLCHoklch(71.76% 0.128 90.8)
XYZxyz(35.4408, 36.8610, 8.4963)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A034 #3456C2
analogous
#C25934 #C2A034 #9DC234
triadic
#C2A034 #34C2A0 #A034C2
tetradic
#C2A034 #34C259 #3456C2 #C2349D
square
#C2A034 #34C259 #3456C2 #C2349D
split-complementary
#C2A034 #349DC2 #5934C2
monochromatic
#61501A #927827 #C2A034 #D4B85F #E1CD8F

Accessibility & contrast

On white

2.51
#C2A034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C2A034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A034
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A034#FFFFFF#000000##000000
##C2A0341.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#BAA83A
Tritanopia (blue-blind)
#D2938A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c2a034;
/* rgb */ color: rgb(194, 160, 52);
/* oklch */ color: oklch(71.8% 0.128 90.8);
Tailwind
colors: {
  custom: {
    50: '#d9bb72',
    500: '#c2a034',
    950: '#000000',
  },
}
SCSS
$custom: #c2a034;
$custom-light: #d9bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a034",
  "rgb": {
    "r": 194,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 45.634,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.12826,
    "h": 90.8
  },
  "luminance": 0.36859
}

Semantic roles & 50–950 ramp

primary
#C2A034
secondary
#8697CC
accent
#6CE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A034

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

Preview Lab → · Contrast checker → · Palette generator →

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