#C1A12F#C1A12F

#C1A12F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.132 H 92.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C1A12F
RGBrgb(193, 161, 47)
HSLhsl(47, 61%, 47%)
HSVhsv(47, 76%, 76%)
CMYKcmyk(0%, 16.6%, 75.6%, 24.3%)
CIE-LABlab(67.30, 0.18, 59.93)
CIE-LCHlch(67.30, 59.93, 89.83°)
OKLaboklab(71.83% -0.0058 0.1315)
OKLCHoklch(71.83% 0.132 92.5)
XYZxyz(35.2523, 37.0345, 7.9804)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A12F #2F4FC1
analogous
#C1582F #C1A12F #98C12F
triadic
#C1A12F #2FC1A1 #A12FC1
tetradic
#C1A12F #2FC158 #2F4FC1 #C12F98
square
#C1A12F #2FC158 #2F4FC1 #C12F98
split-complementary
#C1A12F #2F98C1 #582FC1
monochromatic
#5F4F17 #907823 #C1A12F #D6BA57 #E2CE88

Accessibility & contrast

On white

2.50
#C1A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C1A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A12F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A12F#FFFFFF#000000##000000
##C1A12F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1B
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#D1948B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c1a12f;
/* rgb */ color: rgb(193, 161, 47);
/* oklch */ color: oklch(71.8% 0.132 92.5);
Tailwind
colors: {
  custom: {
    50: '#d8bc70',
    500: '#c1a12f',
    950: '#000000',
  },
}
SCSS
$custom: #c1a12f;
$custom-light: #d8bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a12f",
  "rgb": {
    "r": 193,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 46.849,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.13166,
    "h": 92.5
  },
  "luminance": 0.37032
}

Semantic roles & 50–950 ramp

primary
#C1A12F
secondary
#8091CC
accent
#67E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C1A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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