#B9BA2F#B9BA2F

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

Color values

HEX#B9BA2F
RGBrgb(185, 186, 47)
HSLhsl(60, 60%, 46%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0.5%, 0%, 74.7%, 27.1%)
CIE-LABlab(73.31, -16.35, 65.30)
CIE-LCHlch(73.31, 67.32, 104.06°)
OKLaboklab(76.43% -0.052 0.1433)
OKLCHoklch(76.43% 0.152 109.9)
XYZxyz(38.0810, 45.6385, 9.4919)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA2F #302FBA
analogous
#BA762F #B9BA2F #73BA2F
triadic
#B9BA2F #2FB9BA #BA2FB9
tetradic
#B9BA2F #2FBA76 #302FBA #BA2F73
square
#B9BA2F #2FBA76 #302FBA #BA2F73
split-complementary
#B9BA2F #2F73BA #762FBA
monochromatic
#585816 #888923 #B9BA2F #D3D353 #DFE084

Accessibility & contrast

On white

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

On black

10.13
#B9BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA2F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA2F#FFFFFF#000000##000000
##B9BA2F1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ba2f;
/* rgb */ color: rgb(185, 186, 47);
/* oklch */ color: oklch(76.4% 0.152 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2ce73',
    500: '#b9ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba2f;
$custom-light: #d2ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba2f",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 60.432,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.15243,
    "h": 109.9
  },
  "luminance": 0.45637
}

Semantic roles & 50–950 ramp

primary
#B9BA2F
secondary
#7C7CC9
accent
#45E346
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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