#B9BA47#B9BA47

#B9BA47 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.136 H 109.7°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B9BA47
RGBrgb(185, 186, 71)
HSLhsl(61, 45%, 50%)
HSVhsv(61, 62%, 73%)
CMYKcmyk(0.5%, 0%, 61.8%, 27.1%)
CIE-LABlab(73.47, -15.05, 56.34)
CIE-LCHlch(73.47, 58.32, 104.96°)
OKLaboklab(76.61% -0.046 0.1284)
OKLCHoklch(76.61% 0.136 109.7)
XYZxyz(38.7050, 45.8881, 12.7784)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA47 #4847BA
analogous
#BA8247 #B9BA47 #7FBA47
triadic
#B9BA47 #47B9BA #BA47B9
tetradic
#B9BA47 #47BA82 #4847BA #BA477F
square
#B9BA47 #47BA82 #4847BA #BA477F
split-complementary
#B9BA47 #477FBA #8247BA
monochromatic
#616225 #8E8E35 #B9BA47 #CACB74 #DBDBA0

Accessibility & contrast

On white

2.06
#B9BA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B9BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA47
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA47#FFFFFF#000000##000000
##B9BA471.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B239
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#C5AFA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba47;
/* rgb */ color: rgb(185, 186, 71);
/* oklch */ color: oklch(76.6% 0.136 109.7);
Tailwind
colors: {
  custom: {
    50: '#d1ce7f',
    500: '#b9ba47',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba47;
$custom-light: #d1ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba47",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 60.522,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.13633,
    "h": 109.7
  },
  "luminance": 0.45887
}

Semantic roles & 50–950 ramp

primary
#B9BA47
secondary
#9595C8
accent
#53D554
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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