#B8BF30#B8BF30

#B8BF30 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.157 H 112.4°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B8BF30
RGBrgb(184, 191, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(3.7%, 0%, 74.9%, 25.1%)
CIE-LABlab(74.61, -19.25, 66.16)
CIE-LCHlch(74.61, 68.90, 106.22°)
OKLaboklab(77.46% -0.0599 0.1453)
OKLCHoklch(77.46% 0.157 112.4)
XYZxyz(38.9327, 47.6663, 9.9454)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF30 #3730BF
analogous
#BF7F30 #B8BF30 #71BF30
triadic
#B8BF30 #30B8BF #BF30B8
tetradic
#B8BF30 #30BF7F #3730BF #BF3071
square
#B8BF30 #30BF7F #3730BF #BF3071
split-complementary
#B8BF30 #3071BF #7F30BF
monochromatic
#5A5D17 #898E24 #B8BF30 #CFD557 #DDE188

Accessibility & contrast

On white

1.99
#B8BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#B8BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF30
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF30#FFFFFF#000000##000000
##B8BF301.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C5B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf30;
/* rgb */ color: rgb(184, 191, 48);
/* oklch */ color: oklch(77.5% 0.157 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d274',
    500: '#b8bf30',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf30;
$custom-light: #d1d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf30",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 62.937,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77456,
    "c": 0.15718,
    "h": 112.4
  },
  "luminance": 0.47665
}

Semantic roles & 50–950 ramp

primary
#B8BF30
secondary
#8480CB
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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