#C1AC45#C1AC45

#C1AC45 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.124 H 97.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C1AC45
RGBrgb(193, 172, 69)
HSLhsl(50, 50%, 51%)
HSVhsv(50, 64%, 76%)
CMYKcmyk(0%, 10.9%, 64.2%, 24.3%)
CIE-LABlab(70.37, -4.51, 54.09)
CIE-LCHlch(70.37, 54.28, 94.77°)
OKLaboklab(74.3% -0.0167 0.1231)
OKLCHoklch(74.3% 0.124 97.7)
XYZxyz(37.8207, 41.2739, 11.6036)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AC45 #455AC1
analogous
#C16E45 #C1AC45 #98C145
triadic
#C1AC45 #45C1AC #AC45C1
tetradic
#C1AC45 #45C16E #455AC1 #C14598
square
#C1AC45 #45C16E #455AC1 #C14598
split-complementary
#C1AC45 #4598C1 #6E45C1
monochromatic
#695D23 #978632 #C1AC45 #D0C073 #E0D5A1

Accessibility & contrast

On white

2.27
#C1AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C1AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AC45
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AC45#FFFFFF#000000##000000
##C1AC451.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#CFA096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c1ac45;
/* rgb */ color: rgb(193, 172, 69);
/* oklch */ color: oklch(74.3% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#d7c47d',
    500: '#c1ac45',
    950: '#000000',
  },
}
SCSS
$custom: #c1ac45;
$custom-light: #d7c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ac45",
  "rgb": {
    "r": 193,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 49.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.1242,
    "h": 97.7
  },
  "luminance": 0.41272
}

Semantic roles & 50–950 ramp

primary
#C1AC45
secondary
#969FCC
accent
#66DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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