#C2A12A#C2A12A

#C2A12A is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.135 H 92.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#C2A12A
RGBrgb(194, 161, 42)
HSLhsl(47, 64%, 46%)
HSVhsv(47, 78%, 76%)
CMYKcmyk(0%, 17%, 78.4%, 23.9%)
CIE-LABlab(67.37, 0.42, 61.79)
CIE-LCHlch(67.37, 61.80, 89.61°)
OKLaboklab(71.9% -0.0057 0.1344)
OKLCHoklch(71.9% 0.135 92.4)
XYZxyz(35.4130, 37.1284, 7.4913)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A12A #2A4BC2
analogous
#C2552A #C2A12A #97C22A
triadic
#C2A12A #2AC2A1 #A12AC2
tetradic
#C2A12A #2AC255 #2A4BC2 #C22A97
square
#C2A12A #2AC255 #2A4BC2 #C22A97
split-complementary
#C2A12A #2A97C2 #552AC2
monochromatic
#5D4E14 #90771F #C2A12A #D9BB50 #E4CF82

Accessibility & contrast

On white

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

On black

8.43
#C2A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A12A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A12A#FFFFFF#000000##000000
##C2A12A1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E10
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D2938A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c2a12a;
/* rgb */ color: rgb(194, 161, 42);
/* oklch */ color: oklch(71.9% 0.135 92.4);
Tailwind
colors: {
  custom: {
    50: '#d9bc6d',
    500: '#c2a12a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a12a;
$custom-light: #d9bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a12a",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 46.974,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71897,
    "c": 0.13457,
    "h": 92.4
  },
  "luminance": 0.37126
}

Semantic roles & 50–950 ramp

primary
#C2A12A
secondary
#7B8DCD
accent
#65E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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