#B8D238#B8D238

#B8D238 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.7% C 0.173 H 118.9°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#B8D238
RGBrgb(184, 210, 56)
HSLhsl(70, 63%, 52%)
HSVhsv(70, 73%, 82%)
CMYKcmyk(12.4%, 0%, 73.3%, 17.6%)
CIE-LABlab(79.94, -28.12, 68.55)
CIE-LCHlch(79.94, 74.09, 112.30°)
OKLaboklab(81.74% -0.0838 0.1518)
OKLCHoklch(81.74% 0.173 118.9)
XYZxyz(43.5285, 56.5694, 12.3665)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D238 #5238D2
analogous
#D29F38 #B8D238 #6BD238
triadic
#B8D238 #38B8D2 #D238B8
tetradic
#B8D238 #38D29F #5238D2 #D2386B
square
#B8D238 #38D29F #5238D2 #D2386B
split-complementary
#B8D238 #386BD2 #9F38D2
monochromatic
#66751A #91A726 #B8D238 #CADD6A #DCE99C

Accessibility & contrast

On white

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

On black

12.31
#B8D238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D238
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D238#FFFFFF#000000##000000
##B8D2381.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C617
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#C3C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d238;
/* rgb */ color: rgb(184, 210, 56);
/* oklch */ color: oklch(81.7% 0.173 118.9);
Tailwind
colors: {
  custom: {
    50: '#d1df7a',
    500: '#b8d238',
    950: '#000000',
  },
}
SCSS
$custom: #b8d238;
$custom-light: #d1df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d238",
  "rgb": {
    "r": 184,
    "g": 210,
    "b": 56
  },
  "hsl": {
    "h": 70.13,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81743,
    "c": 0.17335,
    "h": 118.9
  },
  "luminance": 0.56569
}

Semantic roles & 50–950 ramp

primary
#B8D238
secondary
#3E317E
accent
#42E65D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8D238

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

Preview Lab → · Contrast checker → · Palette generator →

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