#98B45A#98B45A

#98B45A is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.9% C 0.121 H 123.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#98B45A
RGBrgb(152, 180, 90)
HSLhsl(79, 38%, 53%)
HSVhsv(79, 50%, 71%)
CMYKcmyk(15.6%, 0%, 50%, 29.4%)
CIE-LABlab(69.51, -23.97, 42.41)
CIE-LCHlch(69.51, 48.72, 119.48°)
OKLaboklab(72.88% -0.0673 0.1011)
OKLCHoklch(72.88% 0.121 123.6)
XYZxyz(31.1157, 40.0560, 15.7632)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B45A #765AB4
analogous
#B4A35A #98B45A #6BB45A
triadic
#98B45A #5A98B4 #B45A98
tetradic
#98B45A #5AB4A3 #765AB4 #B45A6B
square
#98B45A #5AB4A3 #765AB4 #B45A6B
split-complementary
#98B45A #5A6BB4 #A35AB4
monochromatic
#54652E #779041 #98B45A #B2C784 #CDDAAE

Accessibility & contrast

On white

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

On black

9.01
#98B45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B45A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B45A#FFFFFF#000000##000000
##98B45A1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB52
Deuteranopia (green-blind)
#B9AA5F
Tritanopia (blue-blind)
#9EAD9F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b45a;
/* rgb */ color: rgb(152, 180, 90);
/* oklch */ color: oklch(72.9% 0.121 123.6);
Tailwind
colors: {
  custom: {
    50: '#b8ca8b',
    500: '#98b45a',
    950: '#000000',
  },
}
SCSS
$custom: #98b45a;
$custom-light: #b8ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b45a",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 78.667,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.1214,
    "h": 123.6
  },
  "luminance": 0.40056
}

Semantic roles & 50–950 ramp

primary
#98B45A
secondary
#AEA1C8
accent
#5ACD7E
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #98B45A

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

Preview Lab → · Contrast checker → · Palette generator →

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