#B8BC30#B8BC30

#B8BC30 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.154 H 111.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B8BC30
RGBrgb(184, 188, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 74%)
CMYKcmyk(2.1%, 0%, 74.5%, 26.3%)
CIE-LABlab(73.79, -17.75, 65.39)
CIE-LCHlch(73.79, 67.75, 105.18°)
OKLaboklab(76.79% -0.0557 0.1437)
OKLCHoklch(76.79% 0.154 111.2)
XYZxyz(38.2852, 46.3712, 9.7295)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC30 #3430BC
analogous
#BC7A30 #B8BC30 #72BC30
triadic
#B8BC30 #30B8BC #BC30B8
tetradic
#B8BC30 #30BC7A #3430BC #BC3072
square
#B8BC30 #30BC7A #3430BC #BC3072
split-complementary
#B8BC30 #3072BC #7A30BC
monochromatic
#595A17 #888B24 #B8BC30 #D0D455 #DEE086

Accessibility & contrast

On white

2.04
#B8BC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#B8BC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC30
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC30#FFFFFF#000000##000000
##B8BC301.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB310
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#C5B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc30;
/* rgb */ color: rgb(184, 188, 48);
/* oklch */ color: oklch(76.8% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf73',
    500: '#b8bc30',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc30;
$custom-light: #d1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc30",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 61.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76793,
    "c": 0.15412,
    "h": 111.2
  },
  "luminance": 0.4637
}

Semantic roles & 50–950 ramp

primary
#B8BC30
secondary
#807ECA
accent
#45E34A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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