#98B95F#98B95F

#98B95F is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.1% C 0.123 H 125.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#98B95F
RGBrgb(152, 185, 95)
HSLhsl(82, 39%, 55%)
HSVhsv(82, 49%, 73%)
CMYKcmyk(17.8%, 0%, 48.6%, 27.5%)
CIE-LABlab(71.01, -25.89, 41.76)
CIE-LCHlch(71.01, 49.14, 121.79°)
OKLaboklab(74.11% -0.0722 0.1)
OKLCHoklch(74.11% 0.123 125.8)
XYZxyz(32.3633, 42.1992, 17.2645)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B95F #805FB9
analogous
#B9AD5F #98B95F #6BB95F
triadic
#98B95F #5F98B9 #B95F98
tetradic
#98B95F #5FB9AD #805FB9 #B95F6B
square
#98B95F #5FB9AD #805FB9 #B95F6B
split-complementary
#98B95F #5F6BB9 #AD5FB9
monochromatic
#576E30 #799843 #98B95F #B3CC8A #CFDEB4

Accessibility & contrast

On white

2.22
#98B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#98B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B95F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B95F#FFFFFF#000000##000000
##98B95F1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF57
Deuteranopia (green-blind)
#BDAD64
Tritanopia (blue-blind)
#9DB2A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98b95f;
/* rgb */ color: rgb(152, 185, 95);
/* oklch */ color: oklch(74.1% 0.123 125.8);
Tailwind
colors: {
  custom: {
    50: '#b8ce8e',
    500: '#98b95f',
    950: '#000000',
  },
}
SCSS
$custom: #98b95f;
$custom-light: #b8ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b95f",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 82,
    "s": 39.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.12336,
    "h": 125.8
  },
  "luminance": 0.422
}

Semantic roles & 50–950 ramp

primary
#98B95F
secondary
#B5A7CD
accent
#59CF84
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #98B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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