#C2A12C#C2A12C

#C2A12C 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#C2A12C
RGBrgb(194, 161, 44)
HSLhsl(47, 63%, 47%)
HSVhsv(47, 77%, 76%)
CMYKcmyk(0%, 17%, 77.3%, 23.9%)
CIE-LABlab(67.38, 0.50, 61.11)
CIE-LCHlch(67.38, 61.12, 89.54°)
OKLaboklab(71.91% -0.0053 0.1334)
OKLCHoklch(71.91% 0.134 92.3)
XYZxyz(35.4497, 37.1431, 7.6845)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A12C #2C4DC2
analogous
#C2562C #C2A12C #98C22C
triadic
#C2A12C #2CC2A1 #A12CC2
tetradic
#C2A12C #2CC256 #2C4DC2 #C22C98
square
#C2A12C #2CC256 #2C4DC2 #C22C98
split-complementary
#C2A12C #2C98C2 #562CC2
monochromatic
#5E4E15 #907821 #C2A12C #D8BB53 #E3CF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A12C#FFFFFF#000000##000000
##C2A12C1.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)
#B39F15
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#D2938B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c2a12c;
/* rgb */ color: rgb(194, 161, 44);
/* oklch */ color: oklch(71.9% 0.134 92.3);
Tailwind
colors: {
  custom: {
    50: '#d9bc6e',
    500: '#c2a12c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a12c;
$custom-light: #d9bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a12c",
  "rgb": {
    "r": 194,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 46.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71909,
    "c": 0.13351,
    "h": 92.3
  },
  "luminance": 0.37141
}

Semantic roles & 50–950 ramp

primary
#C2A12C
secondary
#7D8FCD
accent
#66E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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