#B7D74F#B7D74F

#B7D74F is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 83.0% C 0.164 H 121.4°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#B7D74F
RGBrgb(183, 215, 79)
HSLhsl(74, 63%, 58%)
HSVhsv(74, 63%, 84%)
CMYKcmyk(14.9%, 0%, 63.3%, 15.7%)
CIE-LABlab(81.42, -29.52, 61.45)
CIE-LCHlch(81.42, 68.18, 115.66°)
OKLaboklab(82.97% -0.0856 0.1403)
OKLCHoklch(82.97% 0.164 121.4)
XYZxyz(45.2407, 59.2327, 16.4453)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D74F #6F4FD7
analogous
#D7B34F #B7D74F #73D74F
triadic
#B7D74F #4FB7D7 #D74FB7
tetradic
#B7D74F #4FD7B3 #6F4FD7 #D74F73
square
#B7D74F #4FD7B3 #6F4FD7 #D74F73
split-complementary
#B7D74F #4F73D7 #B34FD7
monochromatic
#728C20 #9BBE2B #B7D74F #CBE281 #E0EEB3

Accessibility & contrast

On white

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

On black

12.85
#B7D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D74F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D74F#FFFFFF#000000##000000
##B7D74F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3E
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#C0CCBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b7d74f;
/* rgb */ color: rgb(183, 215, 79);
/* oklch */ color: oklch(83.0% 0.164 121.4);
Tailwind
colors: {
  custom: {
    50: '#cfe386',
    500: '#b7d74f',
    950: '#000000',
  },
}
SCSS
$custom: #b7d74f;
$custom-light: #cfe386;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d74f",
  "rgb": {
    "r": 183,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 74.118,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82969,
    "c": 0.16432,
    "h": 121.4
  },
  "luminance": 0.59233
}

Semantic roles & 50–950 ramp

primary
#B7D74F
secondary
#4E3992
accent
#42E668
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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