#C1A532#C1A532

#C1A532 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.132 H 94.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#C1A532
RGBrgb(193, 165, 50)
HSLhsl(48, 59%, 48%)
HSVhsv(48, 74%, 76%)
CMYKcmyk(0%, 14.5%, 74.1%, 24.3%)
CIE-LABlab(68.37, -1.83, 59.84)
CIE-LCHlch(68.37, 59.86, 91.75°)
OKLaboklab(72.68% -0.0112 0.1319)
OKLCHoklch(72.68% 0.132 94.9)
XYZxyz(36.0251, 38.4800, 8.5469)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A532 #324EC1
analogous
#C15E32 #C1A532 #95C132
triadic
#C1A532 #32C1A5 #A532C1
tetradic
#C1A532 #32C15E #324EC1 #C13295
square
#C1A532 #32C15E #324EC1 #C13295
split-complementary
#C1A532 #3295C1 #5E32C1
monochromatic
#605219 #907B25 #C1A532 #D5BD5C #E1D18C

Accessibility & contrast

On white

2.42
#C1A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#C1A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A532
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A532#FFFFFF#000000##000000
##C1A5321.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21F
Deuteranopia (green-blind)
#BEAA39
Tritanopia (blue-blind)
#D1988E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c1a532;
/* rgb */ color: rgb(193, 165, 50);
/* oklch */ color: oklch(72.7% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#d8bf72',
    500: '#c1a532',
    950: '#000000',
  },
}
SCSS
$custom: #c1a532;
$custom-light: #d8bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a532",
  "rgb": {
    "r": 193,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 48.252,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.13241,
    "h": 94.9
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

primary
#C1A532
secondary
#8391CB
accent
#64E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A532

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

Preview Lab → · Contrast checker → · Palette generator →

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