#C1A22F#C1A22F

#C1A22F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.132 H 93.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C1A22F
RGBrgb(193, 162, 47)
HSLhsl(47, 61%, 47%)
HSVhsv(47, 76%, 76%)
CMYKcmyk(0%, 16.1%, 75.6%, 24.3%)
CIE-LABlab(67.57, -0.36, 60.18)
CIE-LCHlch(67.57, 60.18, 90.34°)
OKLaboklab(72.04% -0.0073 0.1321)
OKLCHoklch(72.04% 0.132 93.2)
XYZxyz(35.4277, 37.3854, 8.0389)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A22F #2F4EC1
analogous
#C1592F #C1A22F #97C12F
triadic
#C1A22F #2FC1A2 #A22FC1
tetradic
#C1A22F #2FC159 #2F4EC1 #C12F97
square
#C1A22F #2FC159 #2F4EC1 #C12F97
split-complementary
#C1A22F #2F97C1 #592FC1
monochromatic
#5F4F17 #907923 #C1A22F #D6BB57 #E2CF88

Accessibility & contrast

On white

2.48
#C1A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C1A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A22F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A22F#FFFFFF#000000##000000
##C1A22F1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1A
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#D1958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c1a22f;
/* rgb */ color: rgb(193, 162, 47);
/* oklch */ color: oklch(72.0% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#d8bd70',
    500: '#c1a22f',
    950: '#000000',
  },
}
SCSS
$custom: #c1a22f;
$custom-light: #d8bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a22f",
  "rgb": {
    "r": 193,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 47.26,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.13226,
    "h": 93.2
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#C1A22F
secondary
#8090CC
accent
#66E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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