#C1A42F#C1A42F

#C1A42F is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.134 H 94.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#C1A42F
RGBrgb(193, 164, 47)
HSLhsl(48, 61%, 47%)
HSVhsv(48, 76%, 76%)
CMYKcmyk(0%, 15%, 75.6%, 24.3%)
CIE-LABlab(68.09, -1.43, 60.67)
CIE-LCHlch(68.09, 60.69, 91.35°)
OKLaboklab(72.45% -0.0104 0.1331)
OKLCHoklch(72.45% 0.134 94.5)
XYZxyz(35.7828, 38.0957, 8.1572)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A42F #2F4CC1
analogous
#C15B2F #C1A42F #95C12F
triadic
#C1A42F #2FC1A4 #A42FC1
tetradic
#C1A42F #2FC15B #2F4CC1 #C12F95
square
#C1A42F #2FC15B #2F4CC1 #C12F95
split-complementary
#C1A42F #2F95C1 #5B2FC1
monochromatic
#5F5017 #907A23 #C1A42F #D6BD57 #E2D088

Accessibility & contrast

On white

2.44
#C1A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#C1A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A42F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A42F#FFFFFF#000000##000000
##C1A42F1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#D1978D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c1a42f;
/* rgb */ color: rgb(193, 164, 47);
/* oklch */ color: oklch(72.5% 0.134 94.5);
Tailwind
colors: {
  custom: {
    50: '#d8be70',
    500: '#c1a42f',
    950: '#000000',
  },
}
SCSS
$custom: #c1a42f;
$custom-light: #d8be70;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a42f",
  "rgb": {
    "r": 193,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 48.082,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.13352,
    "h": 94.5
  },
  "luminance": 0.38094
}

Semantic roles & 50–950 ramp

primary
#C1A42F
secondary
#808FCC
accent
#64E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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