#C19F31#C19F31

#C19F31 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.129 H 91.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#C19F31
RGBrgb(193, 159, 49)
HSLhsl(46, 60%, 47%)
HSVhsv(46, 75%, 76%)
CMYKcmyk(0%, 17.6%, 74.6%, 24.3%)
CIE-LABlab(66.79, 1.34, 58.69)
CIE-LCHlch(66.79, 58.71, 88.69°)
OKLaboklab(71.43% -0.0023 0.1293)
OKLCHoklch(71.43% 0.129 91)
XYZxyz(34.9468, 36.3576, 8.0822)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C19F31 #3153C1
analogous
#C15731 #C19F31 #9BC131
triadic
#C19F31 #31C19F #9F31C1
tetradic
#C19F31 #31C157 #3153C1 #C1319B
square
#C19F31 #31C157 #3153C1 #C1319B
split-complementary
#C19F31 #319BC1 #5731C1
monochromatic
#5F4F18 #907725 #C19F31 #D5B85A #E2CD8B

Accessibility & contrast

On white

2.54
#C19F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#C19F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C19F31
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C19F31#FFFFFF#000000##000000
##C19F311.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#D19289
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c19f31;
/* rgb */ color: rgb(193, 159, 49);
/* oklch */ color: oklch(71.4% 0.129 91.0);
Tailwind
colors: {
  custom: {
    50: '#d8bb71',
    500: '#c19f31',
    950: '#000000',
  },
}
SCSS
$custom: #c19f31;
$custom-light: #d8bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c19f31",
  "rgb": {
    "r": 193,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 45.833,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.12933,
    "h": 91
  },
  "luminance": 0.36355
}

Semantic roles & 50–950 ramp

primary
#C19F31
secondary
#8294CC
accent
#6AE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C19F31

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

Preview Lab → · Contrast checker → · Palette generator →

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