#C1AC38#C1AC38

#C1AC38 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.134 H 98.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C1AC38
RGBrgb(193, 172, 56)
HSLhsl(51, 55%, 49%)
HSVhsv(51, 71%, 76%)
CMYKcmyk(0%, 10.9%, 71%, 24.3%)
CIE-LABlab(70.27, -5.25, 59.39)
CIE-LCHlch(70.27, 59.62, 95.05°)
OKLaboklab(74.19% -0.0203 0.1321)
OKLCHoklch(74.19% 0.134 98.7)
XYZxyz(37.4604, 41.1298, 9.7063)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AC38 #384DC1
analogous
#C16838 #C1AC38 #92C138
triadic
#C1AC38 #38C1AC #AC38C1
tetradic
#C1AC38 #38C168 #384DC1 #C13892
square
#C1AC38 #38C168 #384DC1 #C13892
split-complementary
#C1AC38 #3892C1 #6838C1
monochromatic
#62571C #92822A #C1AC38 #D2C164 #E0D494

Accessibility & contrast

On white

2.28
#C1AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C1AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AC38
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AC38#FFFFFF#000000##000000
##C1AC381.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D09F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c1ac38;
/* rgb */ color: rgb(193, 172, 56);
/* oklch */ color: oklch(74.2% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#d7c476',
    500: '#c1ac38',
    950: '#000000',
  },
}
SCSS
$custom: #c1ac38;
$custom-light: #d7c476;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ac38",
  "rgb": {
    "r": 193,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 50.803,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.13367,
    "h": 98.7
  },
  "luminance": 0.41128
}

Semantic roles & 50–950 ramp

primary
#C1AC38
secondary
#8A94CB
accent
#60DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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