#B8C52E#B8C52E

#B8C52E is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.164 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B8C52E
RGBrgb(184, 197, 46)
HSLhsl(65, 62%, 48%)
HSVhsv(65, 77%, 77%)
CMYKcmyk(6.6%, 0%, 76.6%, 22.7%)
CIE-LABlab(76.27, -22.29, 68.31)
CIE-LCHlch(76.27, 71.86, 108.07°)
OKLaboklab(78.78% -0.0685 0.1495)
OKLCHoklch(78.78% 0.164 114.6)
XYZxyz(40.2278, 50.3209, 10.1780)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C52E #3B2EC5
analogous
#C5872E #B8C52E #6CC52E
triadic
#B8C52E #2EB8C5 #C52EB8
tetradic
#B8C52E #2EC587 #3B2EC5 #C52E6C
square
#B8C52E #2EC587 #3B2EC5 #C52E6C
split-complementary
#B8C52E #2E6CC5 #872EC5
monochromatic
#5B6217 #8A9322 #B8C52E #CDD858 #DCE48A

Accessibility & contrast

On white

1.90
#B8C52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B8C52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C52E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C52E#FFFFFF#000000##000000
##B8C52E1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD3C
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b8c52e;
/* rgb */ color: rgb(184, 197, 46);
/* oklch */ color: oklch(78.8% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d673',
    500: '#b8c52e',
    950: '#000000',
  },
}
SCSS
$custom: #b8c52e;
$custom-light: #d1d673;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c52e",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 46
  },
  "hsl": {
    "h": 65.166,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.16449,
    "h": 114.6
  },
  "luminance": 0.5032
}

Semantic roles & 50–950 ramp

primary
#B8C52E
secondary
#302B6C
accent
#43E551
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8C52E

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

Preview Lab → · Contrast checker → · Palette generator →

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