#98B245#98B245

#98B245 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.138 H 121.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#98B245
RGBrgb(152, 178, 69)
HSLhsl(74, 44%, 48%)
HSVhsv(74, 61%, 70%)
CMYKcmyk(14.6%, 0%, 61.2%, 30.2%)
CIE-LABlab(68.71, -24.92, 51.33)
CIE-LCHlch(68.71, 57.06, 115.90°)
OKLaboklab(72.17% -0.0719 0.1182)
OKLCHoklch(72.17% 0.138 121.3)
XYZxyz(29.9438, 38.9459, 11.5689)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B245 #5F45B2
analogous
#B29545 #98B245 #61B245
triadic
#98B245 #4598B2 #B24598
tetradic
#98B245 #45B295 #5F45B2 #B24561
square
#98B245 #45B295 #5F45B2 #B24561
split-complementary
#98B245 #4561B2 #9545B2
monochromatic
#4D5A23 #728634 #98B245 #B1C76E #C9D89A

Accessibility & contrast

On white

2.39
#98B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#98B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B245
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B245#FFFFFF#000000##000000
##98B2451.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#B9A84C
Tritanopia (blue-blind)
#A0A99B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b245;
/* rgb */ color: rgb(152, 178, 69);
/* oklch */ color: oklch(72.2% 0.138 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9c97d',
    500: '#98b245',
    950: '#000000',
  },
}
SCSS
$custom: #98b245;
$custom-light: #b9c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b245",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 74.312,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.1383,
    "h": 121.3
  },
  "luminance": 0.38946
}

Semantic roles & 50–950 ramp

primary
#98B245
secondary
#9C8FC4
accent
#54D472
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B245

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

Preview Lab → · Contrast checker → · Palette generator →

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