#C2A131#C2A131

#C2A131 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.131 H 91.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C2A131
RGBrgb(194, 161, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 76%)
CMYKcmyk(0%, 17%, 74.7%, 23.9%)
CIE-LABlab(67.41, 0.70, 59.32)
CIE-LCHlch(67.41, 59.33, 89.32°)
OKLaboklab(71.94% -0.0041 0.1306)
OKLCHoklch(71.94% 0.131 91.8)
XYZxyz(35.5494, 37.1830, 8.2097)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A131 #3152C2
analogous
#C25931 #C2A131 #9AC231
triadic
#C2A131 #31C2A1 #A131C2
tetradic
#C2A131 #31C259 #3152C2 #C2319A
square
#C2A131 #31C259 #3152C2 #C2319A
split-complementary
#C2A131 #319AC2 #5931C2
monochromatic
#605018 #917825 #C2A131 #D6BA5B #E2CE8C

Accessibility & contrast

On white

2.49
#C2A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C2A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A131
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A131#FFFFFF#000000##000000
##C2A1311.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#D2948B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c2a131;
/* rgb */ color: rgb(194, 161, 49);
/* oklch */ color: oklch(71.9% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#d9bc71',
    500: '#c2a131',
    950: '#000000',
  },
}
SCSS
$custom: #c2a131;
$custom-light: #d9bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a131",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 46.345,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71943,
    "c": 0.13068,
    "h": 91.8
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#C2A131
secondary
#8393CC
accent
#69E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A131

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

Preview Lab → · Contrast checker → · Palette generator →

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