#B8D02A#B8D02A

#B8D02A is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.2% C 0.178 H 118.1°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#B8D02A
RGBrgb(184, 208, 42)
HSLhsl(69, 66%, 49%)
HSVhsv(69, 80%, 82%)
CMYKcmyk(11.5%, 0%, 79.8%, 18.4%)
CIE-LABlab(79.31, -27.76, 72.19)
CIE-LCHlch(79.31, 77.35, 111.03°)
OKLaboklab(81.22% -0.0839 0.1571)
OKLCHoklch(81.22% 0.178 118.1)
XYZxyz(42.7420, 55.4697, 10.6451)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D02A #422AD0
analogous
#D0952A #B8D02A #65D02A
triadic
#B8D02A #2AB8D0 #D02AB8
tetradic
#B8D02A #2AD095 #422AD0 #D02A65
square
#B8D02A #2AD095 #422AD0 #D02A65
split-complementary
#B8D02A #2A65D0 #952AD0
monochromatic
#5E6A15 #8B9D20 #B8D02A #CBDE5A #DBE88D

Accessibility & contrast

On white

1.74
#B8D02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#B8D02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D02A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D02A#FFFFFF#000000##000000
##B8D02A1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DCC53B
Tritanopia (blue-blind)
#C4C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b8d02a;
/* rgb */ color: rgb(184, 208, 42);
/* oklch */ color: oklch(81.2% 0.178 118.1);
Tailwind
colors: {
  custom: {
    50: '#d1de73',
    500: '#b8d02a',
    950: '#000000',
  },
}
SCSS
$custom: #b8d02a;
$custom-light: #d1de73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d02a",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 42
  },
  "hsl": {
    "h": 68.675,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81218,
    "c": 0.17811,
    "h": 118.1
  },
  "luminance": 0.55469
}

Semantic roles & 50–950 ramp

primary
#B8D02A
secondary
#352A74
accent
#3EE957
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8D02A

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

Preview Lab → · Contrast checker → · Palette generator →

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