#B8D372#B8D372

#B8D372 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.6% C 0.127 H 122.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#B8D372
RGBrgb(184, 211, 114)
HSLhsl(77, 52%, 64%)
HSVhsv(77, 46%, 83%)
CMYKcmyk(12.8%, 0%, 46%, 17.3%)
CIE-LABlab(80.74, -24.12, 44.84)
CIE-LCHlch(80.74, 50.91, 118.28°)
OKLaboklab(82.55% -0.0673 0.1078)
OKLCHoklch(82.55% 0.127 122)
XYZxyz(46.0988, 57.9937, 24.6817)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D372 #8D72D3
analogous
#D3BD72 #B8D372 #87D372
triadic
#B8D372 #72B8D3 #D372B8
tetradic
#B8D372 #72D3BD #8D72D3 #D37287
square
#B8D372 #72D3BD #8D72D3 #D37287
split-complementary
#B8D372 #7287D3 #BD72D3
monochromatic
#7D9A30 #A1C443 #B8D372 #CFE2A1 #E7F0CF

Accessibility & contrast

On white

1.67
#B8D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#B8D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D372
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D372#FFFFFF#000000##000000
##B8D3721.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#DAC877
Tritanopia (blue-blind)
#BFCABC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b8d372;
/* rgb */ color: rgb(184, 211, 114);
/* oklch */ color: oklch(82.6% 0.127 122.0);
Tailwind
colors: {
  custom: {
    50: '#cfe09c',
    500: '#b8d372',
    950: '#000000',
  },
}
SCSS
$custom: #b8d372;
$custom-light: #cfe09c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d372",
  "rgb": {
    "r": 184,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 76.701,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82553,
    "c": 0.12711,
    "h": 122
  },
  "luminance": 0.57994
}

Semantic roles & 50–950 ramp

primary
#B8D372
secondary
#624A9F
accent
#26C051
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #B8D372

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

Preview Lab → · Contrast checker → · Palette generator →

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