#B8C52A#B8C52A

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

Color values

HEX#B8C52A
RGBrgb(184, 197, 42)
HSLhsl(65, 65%, 47%)
HSVhsv(65, 79%, 77%)
CMYKcmyk(6.6%, 0%, 78.7%, 22.7%)
CIE-LABlab(76.25, -22.45, 69.47)
CIE-LCHlch(76.25, 73.01, 107.91°)
OKLaboklab(78.76% -0.0693 0.1513)
OKLCHoklch(78.76% 0.166 114.6)
XYZxyz(40.1526, 50.2908, 9.7820)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C52A #372AC5
analogous
#C5852A #B8C52A #6BC52A
triadic
#B8C52A #2AB8C5 #C52AB8
tetradic
#B8C52A #2AC585 #372AC5 #C52A6B
square
#B8C52A #2AC585 #372AC5 #C52A6B
split-complementary
#B8C52A #2A6BC5 #852AC5
monochromatic
#5A6014 #89931F #B8C52A #CFDA52 #DDE585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8C52A#FFFFFF#000000##000000
##B8C52A1.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)
#D3BD39
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b8c52a;
/* rgb */ color: rgb(184, 197, 42);
/* oklch */ color: oklch(78.8% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d672',
    500: '#b8c52a',
    950: '#000000',
  },
}
SCSS
$custom: #b8c52a;
$custom-light: #d1d672;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c52a",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 65.032,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.1664,
    "h": 114.6
  },
  "luminance": 0.5029
}

Semantic roles & 50–950 ramp

primary
#B8C52A
secondary
#2E286B
accent
#40E84E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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