#B8D02B#B8D02B

#B8D02B 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.10:1 contrast (WCAG AA passes).

Color values

HEX#B8D02B
RGBrgb(184, 208, 43)
HSLhsl(69, 66%, 49%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(11.5%, 0%, 79.3%, 18.4%)
CIE-LABlab(79.32, -27.72, 71.93)
CIE-LCHlch(79.32, 77.08, 111.08°)
OKLaboklab(81.22% -0.0837 0.1567)
OKLCHoklch(81.22% 0.178 118.1)
XYZxyz(42.7601, 55.4769, 10.7405)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D02B #432BD0
analogous
#D0962B #B8D02B #66D02B
triadic
#B8D02B #2BB8D0 #D02BB8
tetradic
#B8D02B #2BD096 #432BD0 #D02B66
square
#B8D02B #2BD096 #432BD0 #D02B66
split-complementary
#B8D02B #2B66D0 #962BD0
monochromatic
#5E6B16 #8B9D21 #B8D02B #CADD5B #DBE88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8D02B#FFFFFF#000000##000000
##B8D02B1.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)
#DCC53C
Tritanopia (blue-blind)
#C4C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b8d02b;
/* rgb */ color: rgb(184, 208, 43);
/* oklch */ color: oklch(81.2% 0.178 118.1);
Tailwind
colors: {
  custom: {
    50: '#d1de74',
    500: '#b8d02b',
    950: '#000000',
  },
}
SCSS
$custom: #b8d02b;
$custom-light: #d1de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d02b",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 43
  },
  "hsl": {
    "h": 68.727,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81223,
    "c": 0.17767,
    "h": 118.1
  },
  "luminance": 0.55477
}

Semantic roles & 50–950 ramp

primary
#B8D02B
secondary
#362B74
accent
#3FE958
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8D02B

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

Preview Lab → · Contrast checker → · Palette generator →

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