#B9BA20#B9BA20

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

Color values

HEX#B9BA20
RGBrgb(185, 186, 32)
HSLhsl(60, 71%, 43%)
HSVhsv(60, 83%, 73%)
CMYKcmyk(0.5%, 0%, 82.8%, 27.1%)
CIE-LABlab(73.24, -16.89, 69.54)
CIE-LCHlch(73.24, 71.56, 103.65°)
OKLaboklab(76.36% -0.0546 0.1497)
OKLCHoklch(76.36% 0.159 110)
XYZxyz(37.8287, 45.5375, 8.1632)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA20 #2120BA
analogous
#BA6E20 #B9BA20 #6CBA20
triadic
#B9BA20 #20B9BA #BA20B9
tetradic
#B9BA20 #20BA6E #2120BA #BA206C
square
#B9BA20 #20BA6E #2120BA #BA206C
split-complementary
#B9BA20 #206CBA #6E20BA
monochromatic
#51520E #858617 #B9BA20 #DCDD3A #E5E66E

Accessibility & contrast

On white

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

On black

10.11
#B9BA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA20
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA20#FFFFFF#000000##000000
##B9BA201.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB630
Tritanopia (blue-blind)
#C7AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba20;
/* rgb */ color: rgb(185, 186, 32);
/* oklch */ color: oklch(76.4% 0.159 110.0);
Tailwind
colors: {
  custom: {
    50: '#d2ce6c',
    500: '#b9ba20',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba20;
$custom-light: #d2ce6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba20",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 32
  },
  "hsl": {
    "h": 60.39,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.76357,
    "c": 0.15932,
    "h": 110
  },
  "luminance": 0.45536
}

Semantic roles & 50–950 ramp

primary
#B9BA20
secondary
#6A69CC
accent
#3AED3C
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BA20

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

Preview Lab → · Contrast checker → · Palette generator →

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