#B4D938#B4D938

#B4D938 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.0% C 0.183 H 122.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#B4D938
RGBrgb(180, 217, 56)
HSLhsl(74, 68%, 54%)
HSVhsv(74, 74%, 85%)
CMYKcmyk(17.1%, 0%, 74.2%, 14.9%)
CIE-LABlab(81.63, -33.00, 70.07)
CIE-LCHlch(81.63, 77.45, 115.22°)
OKLaboklab(83.04% -0.097 0.1551)
OKLCHoklch(83.04% 0.183 122)
XYZxyz(44.3497, 59.6144, 12.9109)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D938 #5D38D9
analogous
#D9AD38 #B4D938 #63D938
triadic
#B4D938 #38B4D9 #D938B4
tetradic
#B4D938 #38D9AD #5D38D9 #D93863
square
#B4D938 #38D9AD #5D38D9 #D93863
split-complementary
#B4D938 #3863D9 #AD38D9
monochromatic
#677E18 #91B222 #B4D938 #C7E36B #DBED9F

Accessibility & contrast

On white

1.63
#B4D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#B4D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D938
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D938#FFFFFF#000000##000000
##B4D9381.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC13
Deuteranopia (green-blind)
#E1CB47
Tritanopia (blue-blind)
#BECEBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b4d938;
/* rgb */ color: rgb(180, 217, 56);
/* oklch */ color: oklch(83.0% 0.183 122.0);
Tailwind
colors: {
  custom: {
    50: '#cee47a',
    500: '#b4d938',
    950: '#000000',
  },
}
SCSS
$custom: #b4d938;
$custom-light: #cee47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d938",
  "rgb": {
    "r": 180,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 73.789,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83038,
    "c": 0.1829,
    "h": 122
  },
  "luminance": 0.59615
}

Semantic roles & 50–950 ramp

primary
#B4D938
secondary
#433086
accent
#3DEB65
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4D938

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

Preview Lab → · Contrast checker → · Palette generator →

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