#B2D74F#B2D74F

#B2D74F is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.6% C 0.166 H 123.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#B2D74F
RGBrgb(178, 215, 79)
HSLhsl(76, 63%, 58%)
HSVhsv(76, 63%, 84%)
CMYKcmyk(17.2%, 0%, 63.3%, 15.7%)
CIE-LABlab(81.09, -31.48, 61.00)
CIE-LCHlch(81.09, 68.65, 117.30°)
OKLaboklab(82.62% -0.0907 0.1394)
OKLCHoklch(82.62% 0.166 123)
XYZxyz(44.0722, 58.6302, 16.3905)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D74F #744FD7
analogous
#D7B84F #B2D74F #6ED74F
triadic
#B2D74F #4FB2D7 #D74FB2
tetradic
#B2D74F #4FD7B8 #744FD7 #D74F6E
square
#B2D74F #4FD7B8 #744FD7 #D74F6E
split-complementary
#B2D74F #4F6ED7 #B84FD7
monochromatic
#6E8C20 #96BE2B #B2D74F #C8E281 #DEEEB3

Accessibility & contrast

On white

1.65
#B2D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#B2D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D74F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D74F#FFFFFF#000000##000000
##B2D74F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3E
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#BACDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b2d74f;
/* rgb */ color: rgb(178, 215, 79);
/* oklch */ color: oklch(82.6% 0.166 123.0);
Tailwind
colors: {
  custom: {
    50: '#cce386',
    500: '#b2d74f',
    950: '#000000',
  },
}
SCSS
$custom: #b2d74f;
$custom-light: #cce386;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d74f",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 76.324,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82618,
    "c": 0.16634,
    "h": 123
  },
  "luminance": 0.5863
}

Semantic roles & 50–950 ramp

primary
#B2D74F
secondary
#513992
accent
#42E66E
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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