#B9AE31#B9AE31

#B9AE31 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.140 H 104.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B9AE31
RGBrgb(185, 174, 49)
HSLhsl(55, 58%, 46%)
HSVhsv(55, 74%, 73%)
CMYKcmyk(0%, 5.9%, 73.5%, 27.5%)
CIE-LABlab(70.04, -10.12, 61.55)
CIE-LCHlch(70.04, 62.37, 99.34°)
OKLaboklab(73.83% -0.0343 0.1357)
OKLCHoklch(73.83% 0.14 104.2)
XYZxyz(35.6995, 40.8096, 8.9017)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AE31 #313CB9
analogous
#B96A31 #B9AE31 #80B931
triadic
#B9AE31 #31B9AE #AE31B9
tetradic
#B9AE31 #31B96A #313CB9 #B93180
square
#B9AE31 #31B96A #313CB9 #B93180
split-complementary
#B9AE31 #3180B9 #6A31B9
monochromatic
#585317 #898024 #B9AE31 #D2C855 #DFD886

Accessibility & contrast

On white

2.29
#B9AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B9AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AE31
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AE31#FFFFFF#000000##000000
##B9AE311.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81A
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#C7A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b9ae31;
/* rgb */ color: rgb(185, 174, 49);
/* oklch */ color: oklch(73.8% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d2c572',
    500: '#b9ae31',
    950: '#000000',
  },
}
SCSS
$custom: #b9ae31;
$custom-light: #d2c572;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ae31",
  "rgb": {
    "r": 185,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 55.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.13997,
    "h": 104.2
  },
  "luminance": 0.40808
}

Semantic roles & 50–950 ramp

primary
#B9AE31
secondary
#7D83C8
accent
#53E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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