#B9BA3F#B9BA3F

#B9BA3F is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.142 H 109.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#B9BA3F
RGBrgb(185, 186, 63)
HSLhsl(60, 49%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0.5%, 0%, 66.1%, 27.1%)
CIE-LABlab(73.41, -15.55, 59.58)
CIE-LCHlch(73.41, 61.57, 104.63°)
OKLaboklab(76.54% -0.0482 0.134)
OKLCHoklch(76.54% 0.142 109.8)
XYZxyz(38.4649, 45.7920, 11.5142)
Luminance0.4579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA3F #403FBA
analogous
#BA7E3F #B9BA3F #7CBA3F
triadic
#B9BA3F #3FB9BA #BA3FB9
tetradic
#B9BA3F #3FBA7E #403FBA #BA3F7C
square
#B9BA3F #3FBA7E #403FBA #BA3F7C
split-complementary
#B9BA3F #3F7CBA #7E3FBA
monochromatic
#5E5F20 #8C8C30 #B9BA3F #CCCC6A #DBDC97

Accessibility & contrast

On white

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

On black

10.16
#B9BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA3F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA3F#FFFFFF#000000##000000
##B9BA3F1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#C6AFA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba3f;
/* rgb */ color: rgb(185, 186, 63);
/* oklch */ color: oklch(76.5% 0.142 109.8);
Tailwind
colors: {
  custom: {
    50: '#d1ce7b',
    500: '#b9ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba3f;
$custom-light: #d1ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba3f",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 60.488,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76543,
    "c": 0.14237,
    "h": 109.8
  },
  "luminance": 0.45791
}

Semantic roles & 50–950 ramp

primary
#B9BA3F
secondary
#8E8DC8
accent
#4FD950
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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