#98B02A#98B02A

#98B02A is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.155 H 119.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#98B02A
RGBrgb(152, 176, 42)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 76%, 69%)
CMYKcmyk(13.6%, 0%, 76.1%, 31%)
CIE-LABlab(67.94, -25.63, 61.02)
CIE-LCHlch(67.94, 66.19, 112.78°)
OKLaboklab(71.49% -0.0763 0.1345)
OKLCHoklch(71.49% 0.155 119.6)
XYZxyz(28.8927, 37.8934, 7.9821)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B02A #422AB0
analogous
#B0852A #98B02A #55B02A
triadic
#98B02A #2A98B0 #B02A98
tetradic
#98B02A #2AB085 #422AB0 #B02A55
square
#98B02A #2AB085 #422AB0 #B02A55
split-complementary
#98B02A #2A55B0 #852AB0
monochromatic
#434D12 #6D7F1E #98B02A #B9D345 #CCDE76

Accessibility & contrast

On white

2.45
#98B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#98B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B02A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B02A#FFFFFF#000000##000000
##98B02A1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA607
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b02a;
/* rgb */ color: rgb(152, 176, 42);
/* oklch */ color: oklch(71.5% 0.155 119.6);
Tailwind
colors: {
  custom: {
    50: '#bac76e',
    500: '#98b02a',
    950: '#000000',
  },
}
SCSS
$custom: #98b02a;
$custom-light: #bac76e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b02a",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 70.746,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71489,
    "c": 0.15462,
    "h": 119.6
  },
  "luminance": 0.37893
}

Semantic roles & 50–950 ramp

primary
#98B02A
secondary
#7F70C6
accent
#43E560
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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