#C2A031#C2A031

#C2A031 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.130 H 91.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C2A031
RGBrgb(194, 160, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 76%)
CMYKcmyk(0%, 17.5%, 74.7%, 23.9%)
CIE-LABlab(67.15, 1.24, 59.07)
CIE-LCHlch(67.15, 59.09, 88.80°)
OKLaboklab(71.74% -0.0026 0.1301)
OKLCHoklch(71.74% 0.13 91.1)
XYZxyz(35.3753, 36.8349, 8.1517)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A031 #3153C2
analogous
#C25731 #C2A031 #9CC231
triadic
#C2A031 #31C2A0 #A031C2
tetradic
#C2A031 #31C257 #3153C2 #C2319C
square
#C2A031 #31C257 #3153C2 #C2319C
split-complementary
#C2A031 #319CC2 #5731C2
monochromatic
#604F18 #917825 #C2A031 #D6B95B #E2CE8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A031#FFFFFF#000000##000000
##C2A0311.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)
#B29E1E
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#D2928A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c2a031;
/* rgb */ color: rgb(194, 160, 49);
/* oklch */ color: oklch(71.7% 0.130 91.1);
Tailwind
colors: {
  custom: {
    50: '#d9bb71',
    500: '#c2a031',
    950: '#000000',
  },
}
SCSS
$custom: #c2a031;
$custom-light: #d9bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a031",
  "rgb": {
    "r": 194,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 45.931,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.1301,
    "h": 91.1
  },
  "luminance": 0.36833
}

Semantic roles & 50–950 ramp

primary
#C2A031
secondary
#8394CC
accent
#6AE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A031

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

Preview Lab → · Contrast checker → · Palette generator →

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