#B19D31#B19D31

#B19D31 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.126 H 98.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B19D31
RGBrgb(177, 157, 49)
HSLhsl(51, 57%, 44%)
HSVhsv(51, 72%, 69%)
CMYKcmyk(0%, 11.3%, 72.3%, 30.6%)
CIE-LABlab(64.71, -4.67, 56.14)
CIE-LCHlch(64.71, 56.33, 94.75°)
OKLaboklab(69.42% -0.0185 0.1245)
OKLCHoklch(69.42% 0.126 98.4)
XYZxyz(30.7443, 33.6843, 7.7875)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B19D31 #3145B1
analogous
#B15D31 #B19D31 #85B131
triadic
#B19D31 #31B19D #9D31B1
tetradic
#B19D31 #31B15D #3145B1 #B13185
square
#B19D31 #31B15D #3145B1 #B13185
split-complementary
#B19D31 #3185B1 #5D31B1
monochromatic
#514816 #817224 #B19D31 #CFBB51 #DCCE80

Accessibility & contrast

On white

2.71
#B19D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B19D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B19D31
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B19D31#FFFFFF#000000##000000
##B19D311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#BF9188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b19d31;
/* rgb */ color: rgb(177, 157, 49);
/* oklch */ color: oklch(69.4% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#ccb970',
    500: '#b19d31',
    950: '#000000',
  },
}
SCSS
$custom: #b19d31;
$custom-light: #ccb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b19d31",
  "rgb": {
    "r": 177,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 50.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.1259,
    "h": 98.4
  },
  "luminance": 0.33683
}

Semantic roles & 50–950 ramp

primary
#B19D31
secondary
#7985C5
accent
#60E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B19D31

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

Preview Lab → · Contrast checker → · Palette generator →

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