#98B34F#98B34F

#98B34F is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.131 H 122.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#98B34F
RGBrgb(152, 179, 79)
HSLhsl(76, 40%, 51%)
HSVhsv(76, 56%, 70%)
CMYKcmyk(15.1%, 0%, 55.9%, 29.8%)
CIE-LABlab(69.10, -24.56, 47.21)
CIE-LCHlch(69.10, 53.22, 117.48°)
OKLaboklab(72.51% -0.0699 0.1105)
OKLCHoklch(72.51% 0.131 122.3)
XYZxyz(30.4805, 39.4801, 13.4103)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B34F #6A4FB3
analogous
#B39C4F #98B34F #66B34F
triadic
#98B34F #4F98B3 #B34F98
tetradic
#98B34F #4FB39C #6A4FB3 #B34F66
square
#98B34F #4FB39C #6A4FB3 #B34F66
split-complementary
#98B34F #4F66B3 #9C4FB3
monochromatic
#505F29 #74893B #98B34F #B1C57A #CAD8A4

Accessibility & contrast

On white

2.36
#98B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#98B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B34F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B34F#FFFFFF#000000##000000
##98B34F1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA945
Deuteranopia (green-blind)
#B9A955
Tritanopia (blue-blind)
#9FAB9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b34f;
/* rgb */ color: rgb(152, 179, 79);
/* oklch */ color: oklch(72.5% 0.131 122.3);
Tailwind
colors: {
  custom: {
    50: '#b8c983',
    500: '#98b34f',
    950: '#000000',
  },
}
SCSS
$custom: #98b34f;
$custom-light: #b8c983;
$custom-dark: #000000;
JSON
{
  "hex": "#98b34f",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 76.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.13076,
    "h": 122.3
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#98B34F
secondary
#A599C5
accent
#58D078
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B34F

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

Preview Lab → · Contrast checker → · Palette generator →

#98B34F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva