#C2A12B#C2A12B

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

Color values

HEX#C2A12B
RGBrgb(194, 161, 43)
HSLhsl(47, 64%, 46%)
HSVhsv(47, 78%, 76%)
CMYKcmyk(0%, 17%, 77.8%, 23.9%)
CIE-LABlab(67.38, 0.46, 61.46)
CIE-LCHlch(67.38, 61.46, 89.57°)
OKLaboklab(71.9% -0.0055 0.1339)
OKLCHoklch(71.9% 0.134 92.3)
XYZxyz(35.4311, 37.1357, 7.5867)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A12B #2B4CC2
analogous
#C2552B #C2A12B #98C22B
triadic
#C2A12B #2BC2A1 #A12BC2
tetradic
#C2A12B #2BC255 #2B4CC2 #C22B98
square
#C2A12B #2BC255 #2B4CC2 #C22B98
split-complementary
#C2A12B #2B98C2 #552BC2
monochromatic
#5E4E15 #907720 #C2A12B #D9BB52 #E4CF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A12B#FFFFFF#000000##000000
##C2A12B1.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)
#B39F12
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D2938B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c2a12b;
/* rgb */ color: rgb(194, 161, 43);
/* oklch */ color: oklch(71.9% 0.134 92.3);
Tailwind
colors: {
  custom: {
    50: '#d9bc6e',
    500: '#c2a12b',
    950: '#000000',
  },
}
SCSS
$custom: #c2a12b;
$custom-light: #d9bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a12b",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 46.887,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71903,
    "c": 0.13405,
    "h": 92.3
  },
  "luminance": 0.37133
}

Semantic roles & 50–950 ramp

primary
#C2A12B
secondary
#7C8ECD
accent
#65E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A12B

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

Preview Lab → · Contrast checker → · Palette generator →

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