#98B45F#98B45F

#98B45F is a light, moderate yellow-green. Relative luminance 0.401; OKLCH L 73.0% C 0.116 H 124.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#98B45F
RGBrgb(152, 180, 95)
HSLhsl(80, 36%, 54%)
HSVhsv(80, 47%, 71%)
CMYKcmyk(15.6%, 0%, 47.2%, 29.4%)
CIE-LABlab(69.57, -23.43, 40.01)
CIE-LCHlch(69.57, 46.37, 120.36°)
OKLaboklab(72.95% -0.0653 0.0961)
OKLCHoklch(72.95% 0.116 124.2)
XYZxyz(31.3357, 40.1440, 16.9220)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B45F #7B5FB4
analogous
#B4A65F #98B45F #6EB45F
triadic
#98B45F #5F98B4 #B45F98
tetradic
#98B45F #5FB4A6 #7B5FB4 #B45F6E
square
#98B45F #5FB4A6 #7B5FB4 #B45F6E
split-complementary
#98B45F #5F6EB4 #A65FB4
monochromatic
#566831 #789244 #98B45F #B3C889 #CEDBB2

Accessibility & contrast

On white

2.33
#98B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#98B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B45F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B45F#FFFFFF#000000##000000
##98B45F1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB58
Deuteranopia (green-blind)
#B8AA64
Tritanopia (blue-blind)
#9DADA0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b45f;
/* rgb */ color: rgb(152, 180, 95);
/* oklch */ color: oklch(73.0% 0.116 124.2);
Tailwind
colors: {
  custom: {
    50: '#b8ca8e',
    500: '#98b45f',
    950: '#000000',
  },
}
SCSS
$custom: #98b45f;
$custom-light: #b8ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b45f",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 79.765,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72954,
    "c": 0.11622,
    "h": 124.2
  },
  "luminance": 0.40144
}

Semantic roles & 50–950 ramp

primary
#98B45F
secondary
#B1A5CA
accent
#5CCC81
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #98B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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