#C1AA40#C1AA40

#C1AA40 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.126 H 96.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C1AA40
RGBrgb(193, 170, 64)
HSLhsl(49, 51%, 50%)
HSVhsv(49, 67%, 76%)
CMYKcmyk(0%, 11.9%, 66.8%, 24.3%)
CIE-LABlab(69.80, -3.76, 55.65)
CIE-LCHlch(69.80, 55.77, 93.86°)
OKLaboklab(73.84% -0.0151 0.1256)
OKLCHoklch(73.84% 0.126 96.9)
XYZxyz(37.2942, 40.4589, 10.6944)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AA40 #4057C1
analogous
#C16940 #C1AA40 #98C140
triadic
#C1AA40 #40C1AA #AA40C1
tetradic
#C1AA40 #40C169 #4057C1 #C14098
square
#C1AA40 #40C169 #4057C1 #C14098
split-complementary
#C1AA40 #4098C1 #6940C1
monochromatic
#665921 #948230 #C1AA40 #D0BF6E #DFD39C

Accessibility & contrast

On white

2.31
#C1AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#C1AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AA40
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AA40#FFFFFF#000000##000000
##C1AA401.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#D09E94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c1aa40;
/* rgb */ color: rgb(193, 170, 64);
/* oklch */ color: oklch(73.8% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#d7c37a',
    500: '#c1aa40',
    950: '#000000',
  },
}
SCSS
$custom: #c1aa40;
$custom-light: #d7c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1aa40",
  "rgb": {
    "r": 193,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 49.302,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.12649,
    "h": 96.9
  },
  "luminance": 0.40457
}

Semantic roles & 50–950 ramp

primary
#C1AA40
secondary
#929CCB
accent
#66DA4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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