#98B25E#98B25E

#98B25E is a light, moderate yellow-green. Relative luminance 0.393; OKLCH L 72.5% C 0.114 H 123.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#98B25E
RGBrgb(152, 178, 94)
HSLhsl(79, 35%, 53%)
HSVhsv(79, 47%, 70%)
CMYKcmyk(14.6%, 0%, 47.2%, 30.2%)
CIE-LABlab(68.99, -22.55, 39.79)
CIE-LCHlch(68.99, 45.74, 119.54°)
OKLaboklab(72.48% -0.063 0.0956)
OKLCHoklch(72.48% 0.114 123.4)
XYZxyz(30.8897, 39.3242, 16.5505)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B25E #785EB2
analogous
#B2A25E #98B25E #6EB25E
triadic
#98B25E #5E98B2 #B25E98
tetradic
#98B25E #5EB2A2 #785EB2 #B25E6E
square
#98B25E #5EB2A2 #785EB2 #B25E6E
split-complementary
#98B25E #5E6EB2 #A25EB2
monochromatic
#556530 #788F44 #98B25E #B2C687 #CDDAB1

Accessibility & contrast

On white

2.37
#98B25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#98B25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B25E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B25E#FFFFFF#000000##000000
##98B25E1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA957
Deuteranopia (green-blind)
#B7A863
Tritanopia (blue-blind)
#9EAB9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b25e;
/* rgb */ color: rgb(152, 178, 94);
/* oklch */ color: oklch(72.5% 0.114 123.4);
Tailwind
colors: {
  custom: {
    50: '#b8c98d',
    500: '#98b25e',
    950: '#000000',
  },
}
SCSS
$custom: #98b25e;
$custom-light: #b8c98d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b25e",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 94
  },
  "hsl": {
    "h": 78.571,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72479,
    "c": 0.11443,
    "h": 123.4
  },
  "luminance": 0.39324
}

Semantic roles & 50–950 ramp

primary
#98B25E
secondary
#AFA4C8
accent
#5CCB7F
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #98B25E

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

Preview Lab → · Contrast checker → · Palette generator →

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