#B3D240#B3D240

#B3D240 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.4% C 0.170 H 120.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#B3D240
RGBrgb(179, 210, 64)
HSLhsl(73, 62%, 54%)
HSVhsv(73, 70%, 82%)
CMYKcmyk(14.8%, 0%, 69.5%, 17.6%)
CIE-LABlab(79.64, -29.71, 65.35)
CIE-LCHlch(79.64, 71.79, 114.45°)
OKLaboklab(81.43% -0.0872 0.1464)
OKLCHoklch(81.43% 0.17 120.8)
XYZxyz(42.5631, 56.0471, 13.4254)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3D240 #5F40D2
analogous
#D2A840 #B3D240 #6AD240
triadic
#B3D240 #40B3D2 #D240B3
tetradic
#B3D240 #40D2A8 #5F40D2 #D2406A
square
#B3D240 #40D2A8 #5F40D2 #D2406A
split-complementary
#B3D240 #406AD2 #A840D2
monochromatic
#677B1D #90AC29 #B3D240 #C7DE72 #DAE9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3D240#FFFFFF#000000##000000
##B3D2401.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)
#DFC628
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#BDC7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b3d240;
/* rgb */ color: rgb(179, 210, 64);
/* oklch */ color: oklch(81.4% 0.170 120.8);
Tailwind
colors: {
  custom: {
    50: '#cddf7e',
    500: '#b3d240',
    950: '#000000',
  },
}
SCSS
$custom: #b3d240;
$custom-light: #cddf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3d240",
  "rgb": {
    "r": 179,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 72.74,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81433,
    "c": 0.17044,
    "h": 120.8
  },
  "luminance": 0.56047
}

Semantic roles & 50–950 ramp

primary
#B3D240
secondary
#443483
accent
#43E565
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B3D240

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

Preview Lab → · Contrast checker → · Palette generator →

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