#B8BE30#B8BE30

#B8BE30 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.156 H 112.0°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B8BE30
RGBrgb(184, 190, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(3.2%, 0%, 74.7%, 25.5%)
CIE-LABlab(74.34, -18.75, 65.90)
CIE-LCHlch(74.34, 68.52, 105.88°)
OKLaboklab(77.23% -0.0585 0.1448)
OKLCHoklch(77.23% 0.156 112)
XYZxyz(38.7154, 47.2316, 9.8729)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE30 #3630BE
analogous
#BE7D30 #B8BE30 #71BE30
triadic
#B8BE30 #30B8BE #BE30B8
tetradic
#B8BE30 #30BE7D #3630BE #BE3071
square
#B8BE30 #30BE7D #3630BE #BE3071
split-complementary
#B8BE30 #3071BE #7D30BE
monochromatic
#595C17 #898D24 #B8BE30 #CFD457 #DDE188

Accessibility & contrast

On white

2.01
#B8BE30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B8BE30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE30
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE30#FFFFFF#000000##000000
##B8BE301.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50E
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C5B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be30;
/* rgb */ color: rgb(184, 190, 48);
/* oklch */ color: oklch(77.2% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d173',
    500: '#b8be30',
    950: '#000000',
  },
}
SCSS
$custom: #b8be30;
$custom-light: #d1d173;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be30",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 48
  },
  "hsl": {
    "h": 62.535,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77234,
    "c": 0.15616,
    "h": 112
  },
  "luminance": 0.47231
}

Semantic roles & 50–950 ramp

primary
#B8BE30
secondary
#827FCB
accent
#45E34C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BE30

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

Preview Lab → · Contrast checker → · Palette generator →

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