#B8D22F#B8D22F

#B8D22F is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.7% C 0.178 H 118.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B8D22F
RGBrgb(184, 210, 47)
HSLhsl(70, 64%, 50%)
HSVhsv(70, 78%, 82%)
CMYKcmyk(12.4%, 0%, 77.6%, 17.6%)
CIE-LABlab(79.89, -28.52, 71.32)
CIE-LCHlch(79.89, 76.81, 111.79°)
OKLaboklab(81.69% -0.0856 0.1561)
OKLCHoklch(81.69% 0.178 118.7)
XYZxyz(43.3278, 56.4891, 11.3097)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D22F #492FD2
analogous
#D29B2F #B8D22F #66D22F
triadic
#B8D22F #2FB8D2 #D22FB8
tetradic
#B8D22F #2FD29B #492FD2 #D22F66
square
#B8D22F #2FD29B #492FD2 #D22F66
split-complementary
#B8D22F #2F66D2 #9B2FD2
monochromatic
#616F18 #8DA123 #B8D22F #C9DD61 #DAE894

Accessibility & contrast

On white

1.71
#B8D22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#B8D22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D22F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D22F#FFFFFF#000000##000000
##B8D22F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DDC73F
Tritanopia (blue-blind)
#C3C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d22f;
/* rgb */ color: rgb(184, 210, 47);
/* oklch */ color: oklch(81.7% 0.178 118.7);
Tailwind
colors: {
  custom: {
    50: '#d1df75',
    500: '#b8d22f',
    950: '#000000',
  },
}
SCSS
$custom: #b8d22f;
$custom-light: #d1df75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d22f",
  "rgb": {
    "r": 184,
    "g": 210,
    "b": 47
  },
  "hsl": {
    "h": 69.571,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.17802,
    "h": 118.7
  },
  "luminance": 0.56489
}

Semantic roles & 50–950 ramp

primary
#B8D22F
secondary
#392D78
accent
#40E75B
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B8D22F

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

Preview Lab → · Contrast checker → · Palette generator →

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