#C2A431#C2A431

#C2A431 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.6% C 0.133 H 93.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C2A431
RGBrgb(194, 164, 49)
HSLhsl(48, 60%, 48%)
HSVhsv(48, 75%, 76%)
CMYKcmyk(0%, 15.5%, 74.7%, 23.9%)
CIE-LABlab(68.20, -0.90, 60.08)
CIE-LCHlch(68.20, 60.08, 90.86°)
OKLaboklab(72.56% -0.0087 0.1322)
OKLCHoklch(72.56% 0.133 93.8)
XYZxyz(36.0799, 38.2441, 8.3866)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A431 #314FC2
analogous
#C25B31 #C2A431 #98C231
triadic
#C2A431 #31C2A4 #A431C2
tetradic
#C2A431 #31C25B #314FC2 #C23198
square
#C2A431 #31C25B #314FC2 #C23198
split-complementary
#C2A431 #3198C2 #5B31C2
monochromatic
#605118 #917B25 #C2A431 #D6BC5B #E2D08C

Accessibility & contrast

On white

2.43
#C2A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C2A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A431
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A431#FFFFFF#000000##000000
##C2A4311.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11D
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a431;
/* rgb */ color: rgb(194, 164, 49);
/* oklch */ color: oklch(72.6% 0.133 93.8);
Tailwind
colors: {
  custom: {
    50: '#d9be71',
    500: '#c2a431',
    950: '#000000',
  },
}
SCSS
$custom: #c2a431;
$custom-light: #d9be71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a431",
  "rgb": {
    "r": 194,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 47.586,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72563,
    "c": 0.1325,
    "h": 93.8
  },
  "luminance": 0.38242
}

Semantic roles & 50–950 ramp

primary
#C2A431
secondary
#8392CC
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A431

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

Preview Lab → · Contrast checker → · Palette generator →

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