#B8D137#B8D137

#B8D137 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.5% C 0.173 H 118.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#B8D137
RGBrgb(184, 209, 55)
HSLhsl(70, 63%, 52%)
HSVhsv(70, 74%, 82%)
CMYKcmyk(12%, 0%, 73.7%, 18%)
CIE-LABlab(79.65, -27.69, 68.61)
CIE-LCHlch(79.65, 73.99, 111.98°)
OKLaboklab(81.51% -0.0827 0.1517)
OKLCHoklch(81.51% 0.173 118.6)
XYZxyz(43.2582, 56.0675, 12.1569)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D137 #5037D1
analogous
#D19D37 #B8D137 #6BD137
triadic
#B8D137 #37B8D1 #D137B8
tetradic
#B8D137 #37D19D #5037D1 #D1376B
square
#B8D137 #37D19D #5037D1 #D1376B
split-complementary
#B8D137 #376BD1 #9D37D1
monochromatic
#65731A #90A526 #B8D137 #CADC69 #DBE89B

Accessibility & contrast

On white

1.72
#B8D137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#B8D137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D137
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D137#FFFFFF#000000##000000
##B8D1371.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC515
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#C3C6B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b8d137;
/* rgb */ color: rgb(184, 209, 55);
/* oklch */ color: oklch(81.5% 0.173 118.6);
Tailwind
colors: {
  custom: {
    50: '#d1df79',
    500: '#b8d137',
    950: '#000000',
  },
}
SCSS
$custom: #b8d137;
$custom-light: #d1df79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d137",
  "rgb": {
    "r": 184,
    "g": 209,
    "b": 55
  },
  "hsl": {
    "h": 69.74,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81512,
    "c": 0.17279,
    "h": 118.6
  },
  "luminance": 0.56067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8D137

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

Preview Lab → · Contrast checker → · Palette generator →

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