#B8D072#B8D072

#B8D072 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.9% C 0.123 H 120.9°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B8D072
RGBrgb(184, 208, 114)
HSLhsl(75, 50%, 63%)
HSVhsv(75, 45%, 82%)
CMYKcmyk(11.5%, 0%, 45.2%, 18.4%)
CIE-LABlab(79.91, -22.66, 43.82)
CIE-LCHlch(79.91, 49.33, 117.34°)
OKLaboklab(81.89% -0.0632 0.1055)
OKLCHoklch(81.89% 0.123 120.9)
XYZxyz(45.3604, 56.5171, 24.4355)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D072 #8A72D0
analogous
#D0B972 #B8D072 #89D072
triadic
#B8D072 #72B8D0 #D072B8
tetradic
#B8D072 #72D0B9 #8A72D0 #D07289
square
#B8D072 #72D0B9 #8A72D0 #D07289
split-complementary
#B8D072 #7289D0 #B972D0
monochromatic
#7C9632 #A1C144 #B8D072 #CFDFA0 #E6EFCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8D072#FFFFFF#000000##000000
##B8D0721.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)
#DAC66A
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#BFC8BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d072;
/* rgb */ color: rgb(184, 208, 114);
/* oklch */ color: oklch(81.9% 0.123 120.9);
Tailwind
colors: {
  custom: {
    50: '#cfde9c',
    500: '#b8d072',
    950: '#000000',
  },
}
SCSS
$custom: #b8d072;
$custom-light: #cfde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d072",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 75.319,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81889,
    "c": 0.12302,
    "h": 120.9
  },
  "luminance": 0.56517
}

Semantic roles & 50–950 ramp

primary
#B8D072
secondary
#5F4B9B
accent
#28BD4E
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #B8D072

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

Preview Lab → · Contrast checker → · Palette generator →

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