#98B95A#98B95A

#98B95A is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.0% C 0.128 H 125.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#98B95A
RGBrgb(152, 185, 90)
HSLhsl(81, 40%, 54%)
HSVhsv(81, 51%, 73%)
CMYKcmyk(17.8%, 0%, 51.4%, 27.5%)
CIE-LABlab(70.95, -26.42, 44.14)
CIE-LCHlch(70.95, 51.44, 120.90°)
OKLaboklab(74.04% -0.0741 0.1049)
OKLCHoklch(74.04% 0.128 125.3)
XYZxyz(32.1433, 42.1112, 16.1057)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B95A #7B5AB9
analogous
#B9AB5A #98B95A #69B95A
triadic
#98B95A #5A98B9 #B95A98
tetradic
#98B95A #5AB9AB #7B5AB9 #B95A69
square
#98B95A #5AB9AB #7B5AB9 #B95A69
split-complementary
#98B95A #5A69B9 #AB5AB9
monochromatic
#566B2D #789640 #98B95A #B3CB85 #CEDDB0

Accessibility & contrast

On white

2.23
#98B95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#98B95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B95A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B95A#FFFFFF#000000##000000
##98B95A1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#BDAD60
Tritanopia (blue-blind)
#9DB1A3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98b95a;
/* rgb */ color: rgb(152, 185, 90);
/* oklch */ color: oklch(74.0% 0.128 125.3);
Tailwind
colors: {
  custom: {
    50: '#b8ce8b',
    500: '#98b95a',
    950: '#000000',
  },
}
SCSS
$custom: #98b95a;
$custom-light: #b8ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b95a",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 80.842,
    "s": 40.426,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.1284,
    "h": 125.3
  },
  "luminance": 0.42112
}

Semantic roles & 50–950 ramp

primary
#98B95A
secondary
#B1A3CC
accent
#58D081
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #98B95A

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

Preview Lab → · Contrast checker → · Palette generator →

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