#C1A538#C1A538

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

Color values

HEX#C1A538
RGBrgb(193, 165, 56)
HSLhsl(48, 55%, 49%)
HSVhsv(48, 71%, 76%)
CMYKcmyk(0%, 14.5%, 71%, 24.3%)
CIE-LABlab(68.41, -1.54, 57.54)
CIE-LCHlch(68.41, 57.56, 91.53°)
OKLaboklab(72.72% -0.0097 0.1282)
OKLCHoklch(72.72% 0.129 94.3)
XYZxyz(36.1631, 38.5352, 9.2739)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A538 #3854C1
analogous
#C16138 #C1A538 #99C138
triadic
#C1A538 #38C1A5 #A538C1
tetradic
#C1A538 #38C161 #3854C1 #C13899
square
#C1A538 #38C161 #3854C1 #C13899
split-complementary
#C1A538 #3899C1 #6138C1
monochromatic
#62541C #927C2A #C1A538 #D2BC64 #E0D094

Accessibility & contrast

On white

2.41
#C1A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C1A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A538
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A538#FFFFFF#000000##000000
##C1A5381.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#D0988F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c1a538;
/* rgb */ color: rgb(193, 165, 56);
/* oklch */ color: oklch(72.7% 0.129 94.3);
Tailwind
colors: {
  custom: {
    50: '#d7bf75',
    500: '#c1a538',
    950: '#000000',
  },
}
SCSS
$custom: #c1a538;
$custom-light: #d7bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a538",
  "rgb": {
    "r": 193,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 47.737,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.12858,
    "h": 94.3
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#C1A538
secondary
#8A97CB
accent
#68DE49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1A538

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

Preview Lab → · Contrast checker → · Palette generator →

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