#B9BA30#B9BA30

#B9BA30 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#B9BA30
RGBrgb(185, 186, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0.5%, 0%, 74.2%, 27.1%)
CIE-LABlab(73.32, -16.31, 64.98)
CIE-LCHlch(73.32, 66.99, 104.09°)
OKLaboklab(76.44% -0.0518 0.1428)
OKLCHoklch(76.44% 0.152 109.9)
XYZxyz(38.1014, 45.6466, 9.5994)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA30 #3130BA
analogous
#BA7630 #B9BA30 #74BA30
triadic
#B9BA30 #30B9BA #BA30B9
tetradic
#B9BA30 #30BA76 #3130BA #BA3074
square
#B9BA30 #30BA76 #3130BA #BA3074
split-complementary
#B9BA30 #3074BA #7630BA
monochromatic
#585917 #898923 #B9BA30 #D2D354 #DFDF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BA30#FFFFFF#000000##000000
##B9BA301.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)
#C9B211
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba30;
/* rgb */ color: rgb(185, 186, 48);
/* oklch */ color: oklch(76.4% 0.152 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2ce73',
    500: '#b9ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba30;
$custom-light: #d2ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba30",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 60.435,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76437,
    "c": 0.15188,
    "h": 109.9
  },
  "luminance": 0.45645
}

Semantic roles & 50–950 ramp

primary
#B9BA30
secondary
#7D7DC9
accent
#46E247
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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