#B9BA27#B9BA27

#B9BA27 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.156 H 110.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B9BA27
RGBrgb(185, 186, 39)
HSLhsl(60, 65%, 44%)
HSVhsv(60, 79%, 73%)
CMYKcmyk(0.5%, 0%, 79%, 27.1%)
CIE-LABlab(73.27, -16.66, 67.71)
CIE-LCHlch(73.27, 69.73, 103.83°)
OKLaboklab(76.39% -0.0535 0.147)
OKLCHoklch(76.39% 0.156 110)
XYZxyz(37.9341, 45.5797, 8.7186)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA27 #2827BA
analogous
#BA7227 #B9BA27 #70BA27
triadic
#B9BA27 #27B9BA #BA27B9
tetradic
#B9BA27 #27BA72 #2827BA #BA2770
square
#B9BA27 #27BA72 #2827BA #BA2770
split-complementary
#B9BA27 #2770BA #7227BA
monochromatic
#545512 #87871C #B9BA27 #D7D846 #E2E379

Accessibility & contrast

On white

2.08
#B9BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B9BA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA27
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA27#FFFFFF#000000##000000
##B9BA271.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#C6AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba27;
/* rgb */ color: rgb(185, 186, 39);
/* oklch */ color: oklch(76.4% 0.156 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce6f',
    500: '#b9ba27',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba27;
$custom-light: #d2ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba27",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 60.408,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.15642,
    "h": 110
  },
  "luminance": 0.45579
}

Semantic roles & 50–950 ramp

primary
#B9BA27
secondary
#7372CB
accent
#40E841
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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