#B8BA30#B8BA30

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

Color values

HEX#B8BA30
RGBrgb(184, 186, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 73%)
CMYKcmyk(1.1%, 0%, 74.2%, 27.1%)
CIE-LABlab(73.23, -16.74, 64.87)
CIE-LCHlch(73.23, 67.00, 104.47°)
OKLaboklab(76.35% -0.0529 0.1426)
OKLCHoklch(76.35% 0.152 110.4)
XYZxyz(37.8609, 45.5226, 9.5881)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA30 #3230BA
analogous
#BA7730 #B8BA30 #73BA30
triadic
#B8BA30 #30B8BA #BA30B8
tetradic
#B8BA30 #30BA77 #3230BA #BA3073
square
#B8BA30 #30BA77 #3230BA #BA3073
split-complementary
#B8BA30 #3073BA #7730BA
monochromatic
#585917 #888923 #B8BA30 #D1D354 #DEDF85

Accessibility & contrast

On white

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

On black

10.10
#B8BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA30
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA30#FFFFFF#000000##000000
##B8BA301.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#C5AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba30;
/* rgb */ color: rgb(184, 186, 48);
/* oklch */ color: oklch(76.4% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#d1ce73',
    500: '#b8ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba30;
$custom-light: #d1ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba30",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 60.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.15211,
    "h": 110.4
  },
  "luminance": 0.45522
}

Semantic roles & 50–950 ramp

primary
#B8BA30
secondary
#7E7DC9
accent
#46E248
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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