#B8D02D#B8D02D

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

Color values

HEX#B8D02D
RGBrgb(184, 208, 45)
HSLhsl(69, 64%, 50%)
HSVhsv(69, 78%, 82%)
CMYKcmyk(11.5%, 0%, 78.4%, 18.4%)
CIE-LABlab(79.32, -27.64, 71.38)
CIE-LCHlch(79.32, 76.54, 111.17°)
OKLaboklab(81.23% -0.0833 0.1559)
OKLCHoklch(81.23% 0.177 118.1)
XYZxyz(42.7977, 55.4920, 10.9385)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D02D #452DD0
analogous
#D0962D #B8D02D #67D02D
triadic
#B8D02D #2DB8D0 #D02DB8
tetradic
#B8D02D #2DD096 #452DD0 #D02D67
square
#B8D02D #2DD096 #452DD0 #D02D67
split-complementary
#B8D02D #2D67D0 #962DD0
monochromatic
#5F6B17 #8B9E22 #B8D02D #CADC5E #DAE790

Accessibility & contrast

On white

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

On black

12.10
#B8D02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D02D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D02D#FFFFFF#000000##000000
##B8D02D1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8d02d;
/* rgb */ color: rgb(184, 208, 45);
/* oklch */ color: oklch(81.2% 0.177 118.1);
Tailwind
colors: {
  custom: {
    50: '#d1de74',
    500: '#b8d02d',
    950: '#000000',
  },
}
SCSS
$custom: #b8d02d;
$custom-light: #d1de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d02d",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 45
  },
  "hsl": {
    "h": 68.834,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81232,
    "c": 0.17677,
    "h": 118.1
  },
  "luminance": 0.55492
}

Semantic roles & 50–950 ramp

primary
#B8D02D
secondary
#372C75
accent
#40E759
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8D02D

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

Preview Lab → · Contrast checker → · Palette generator →

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