#B8C730#B8C730

#B8C730 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.2% C 0.166 H 115.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B8C730
RGBrgb(184, 199, 48)
HSLhsl(66, 61%, 48%)
HSVhsv(66, 76%, 78%)
CMYKcmyk(7.5%, 0%, 75.9%, 22%)
CIE-LABlab(76.83, -23.19, 68.21)
CIE-LCHlch(76.83, 72.05, 108.77°)
OKLaboklab(79.23% -0.0708 0.1497)
OKLCHoklch(79.23% 0.166 115.3)
XYZxyz(40.7252, 51.2513, 10.5429)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C730 #3F30C7
analogous
#C78A30 #B8C730 #6CC730
triadic
#B8C730 #30B8C7 #C730B8
tetradic
#B8C730 #30C78A #3F30C7 #C7306C
square
#B8C730 #30C78A #3F30C7 #C7306C
split-complementary
#B8C730 #306CC7 #8A30C7
monochromatic
#5D6418 #8A9624 #B8C730 #CCD85C #DBE48E

Accessibility & contrast

On white

1.87
#B8C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#B8C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C730
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C730#FFFFFF#000000##000000
##B8C7301.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD06
Deuteranopia (green-blind)
#D4BF3E
Tritanopia (blue-blind)
#C4BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b8c730;
/* rgb */ color: rgb(184, 199, 48);
/* oklch */ color: oklch(79.2% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#d1d775',
    500: '#b8c730',
    950: '#000000',
  },
}
SCSS
$custom: #b8c730;
$custom-light: #d1d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c730",
  "rgb": {
    "r": 184,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 65.96,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79233,
    "c": 0.16559,
    "h": 115.3
  },
  "luminance": 0.51251
}

Semantic roles & 50–950 ramp

primary
#B8C730
secondary
#332C6F
accent
#44E454
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B8C730

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

Preview Lab → · Contrast checker → · Palette generator →

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