#B9BA37#B9BA37

#B9BA37 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.148 H 109.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#B9BA37
RGBrgb(185, 186, 55)
HSLhsl(60, 54%, 47%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0.5%, 0%, 70.4%, 27.1%)
CIE-LABlab(73.36, -15.98, 62.58)
CIE-LCHlch(73.36, 64.59, 104.33°)
OKLaboklab(76.48% -0.0502 0.139)
OKLCHoklch(76.48% 0.148 109.9)
XYZxyz(38.2574, 45.7090, 10.4211)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA37 #3837BA
analogous
#BA7A37 #B9BA37 #78BA37
triadic
#B9BA37 #37B9BA #BA37B9
tetradic
#B9BA37 #37BA7A #3837BA #BA3778
square
#B9BA37 #37BA7A #3837BA #BA3778
split-complementary
#B9BA37 #3778BA #7A37BA
monochromatic
#5B5C1B #8A8B29 #B9BA37 #CFD05F #DDDE8E

Accessibility & contrast

On white

2.07
#B9BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#B9BA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA37
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA37#FFFFFF#000000##000000
##B9BA371.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B220
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba37;
/* rgb */ color: rgb(185, 186, 55);
/* oklch */ color: oklch(76.5% 0.148 109.9);
Tailwind
colors: {
  custom: {
    50: '#d1ce77',
    500: '#b9ba37',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba37;
$custom-light: #d1ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba37",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 60.458,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76482,
    "c": 0.14775,
    "h": 109.9
  },
  "luminance": 0.45708
}

Semantic roles & 50–950 ramp

primary
#B9BA37
secondary
#8585C8
accent
#4ADE4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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