#B8C930#B8C930

#B8C930 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.7% C 0.168 H 116.0°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#B8C930
RGBrgb(184, 201, 48)
HSLhsl(67, 61%, 49%)
HSVhsv(67, 76%, 79%)
CMYKcmyk(8.5%, 0%, 76.1%, 21.2%)
CIE-LABlab(77.39, -24.16, 68.73)
CIE-LCHlch(77.39, 72.85, 109.37°)
OKLaboklab(79.68% -0.0735 0.1508)
OKLCHoklch(79.68% 0.168 116)
XYZxyz(41.1884, 52.1777, 10.6973)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C930 #4130C9
analogous
#C98E30 #B8C930 #6CC930
triadic
#B8C930 #30B8C9 #C930B8
tetradic
#B8C930 #30C98E #4130C9 #C9306C
square
#B8C930 #30C98E #4130C9 #C9306C
split-complementary
#B8C930 #306CC9 #8E30C9
monochromatic
#5E6618 #8B9824 #B8C930 #CBD85E #DBE48F

Accessibility & contrast

On white

1.84
#B8C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#B8C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C930
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C930#FFFFFF#000000##000000
##B8C9301.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE04
Deuteranopia (green-blind)
#D6C03E
Tritanopia (blue-blind)
#C4BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b8c930;
/* rgb */ color: rgb(184, 201, 48);
/* oklch */ color: oklch(79.7% 0.168 116.0);
Tailwind
colors: {
  custom: {
    50: '#d1d975',
    500: '#b8c930',
    950: '#000000',
  },
}
SCSS
$custom: #b8c930;
$custom-light: #d1d975;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c930",
  "rgb": {
    "r": 184,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 66.667,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7968,
    "c": 0.16774,
    "h": 116
  },
  "luminance": 0.52177
}

Semantic roles & 50–950 ramp

primary
#B8C930
secondary
#342D70
accent
#43E555
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B8C930

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

Preview Lab → · Contrast checker → · Palette generator →

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