#B3D040#B3D040

#B3D040 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.168 H 120.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#B3D040
RGBrgb(179, 208, 64)
HSLhsl(72, 61%, 53%)
HSVhsv(72, 69%, 82%)
CMYKcmyk(13.9%, 0%, 69.2%, 18.4%)
CIE-LABlab(79.08, -28.77, 64.79)
CIE-LCHlch(79.08, 70.89, 113.94°)
OKLaboklab(80.98% -0.0846 0.1453)
OKLCHoklch(80.98% 0.168 120.2)
XYZxyz(42.0724, 55.0658, 13.2618)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3D040 #5D40D0
analogous
#D0A540 #B3D040 #6BD040
triadic
#B3D040 #40B3D0 #D040B3
tetradic
#B3D040 #40D0A5 #5D40D0 #D0406B
square
#B3D040 #40D0A5 #5D40D0 #D0406B
split-complementary
#B3D040 #406BD0 #A540D0
monochromatic
#66781E #8FA92A #B3D040 #C7DC71 #DAE8A2

Accessibility & contrast

On white

1.75
#B3D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#B3D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3D040
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3D040#FFFFFF#000000##000000
##B3D0401.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#BDC5B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b3d040;
/* rgb */ color: rgb(179, 208, 64);
/* oklch */ color: oklch(81.0% 0.168 120.2);
Tailwind
colors: {
  custom: {
    50: '#cdde7d',
    500: '#b3d040',
    950: '#000000',
  },
}
SCSS
$custom: #b3d040;
$custom-light: #cdde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3d040",
  "rgb": {
    "r": 179,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 72.083,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80981,
    "c": 0.1681,
    "h": 120.2
  },
  "luminance": 0.55066
}

Semantic roles & 50–950 ramp

primary
#B3D040
secondary
#433480
accent
#44E464
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B3D040

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

Preview Lab → · Contrast checker → · Palette generator →

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