#B8BD30#B8BD30

#B8BD30 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.155 H 111.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B8BD30
RGBrgb(184, 189, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 75%, 74%)
CMYKcmyk(2.6%, 0%, 74.6%, 25.9%)
CIE-LABlab(74.06, -18.25, 65.65)
CIE-LCHlch(74.06, 68.13, 105.53°)
OKLaboklab(77.01% -0.0571 0.1442)
OKLCHoklch(77.01% 0.155 111.6)
XYZxyz(38.4996, 46.7999, 9.8010)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD30 #3530BD
analogous
#BD7C30 #B8BD30 #72BD30
triadic
#B8BD30 #30B8BD #BD30B8
tetradic
#B8BD30 #30BD7C #3530BD #BD3072
square
#B8BD30 #30BD7C #3530BD #BD3072
split-complementary
#B8BD30 #3072BD #7C30BD
monochromatic
#595B17 #888C24 #B8BD30 #D0D456 #DDE087

Accessibility & contrast

On white

2.03
#B8BD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B8BD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD30
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD30#FFFFFF#000000##000000
##B8BD301.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40F
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C5B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd30;
/* rgb */ color: rgb(184, 189, 48);
/* oklch */ color: oklch(77.0% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d073',
    500: '#b8bd30',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd30;
$custom-light: #d1d073;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd30",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 48
  },
  "hsl": {
    "h": 62.128,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77013,
    "c": 0.15513,
    "h": 111.6
  },
  "luminance": 0.46799
}

Semantic roles & 50–950 ramp

primary
#B8BD30
secondary
#817FCA
accent
#45E34B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD30

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

Preview Lab → · Contrast checker → · Palette generator →

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