#B8D74F#B8D74F

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

Color values

HEX#B8D74F
RGBrgb(184, 215, 79)
HSLhsl(74, 63%, 58%)
HSVhsv(74, 63%, 84%)
CMYKcmyk(14.4%, 0%, 63.3%, 15.7%)
CIE-LABlab(81.49, -29.12, 61.55)
CIE-LCHlch(81.49, 68.09, 115.32°)
OKLaboklab(83.04% -0.0845 0.1405)
OKLCHoklch(83.04% 0.164 121)
XYZxyz(45.4795, 59.3558, 16.4565)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D74F #6E4FD7
analogous
#D7B24F #B8D74F #74D74F
triadic
#B8D74F #4FB8D7 #D74FB8
tetradic
#B8D74F #4FD7B2 #6E4FD7 #D74F74
square
#B8D74F #4FD7B2 #6E4FD7 #D74F74
split-complementary
#B8D74F #4F74D7 #B24FD7
monochromatic
#738C20 #9CBE2B #B8D74F #CCE281 #E0EEB3

Accessibility & contrast

On white

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

On black

12.87
#B8D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D74F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D74F#FFFFFF#000000##000000
##B8D74F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#C1CCBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b8d74f;
/* rgb */ color: rgb(184, 215, 79);
/* oklch */ color: oklch(83.0% 0.164 121.0);
Tailwind
colors: {
  custom: {
    50: '#d0e386',
    500: '#b8d74f',
    950: '#000000',
  },
}
SCSS
$custom: #b8d74f;
$custom-light: #d0e386;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d74f",
  "rgb": {
    "r": 184,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 73.676,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83041,
    "c": 0.16394,
    "h": 121
  },
  "luminance": 0.59356
}

Semantic roles & 50–950 ramp

primary
#B8D74F
secondary
#4D3992
accent
#42E667
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B8D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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