#98AD2F#98AD2F

#98AD2F is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.8% C 0.148 H 118.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#98AD2F
RGBrgb(152, 173, 47)
HSLhsl(70, 57%, 43%)
HSVhsv(70, 73%, 68%)
CMYKcmyk(12.1%, 0%, 72.8%, 32.2%)
CIE-LABlab(67.10, -23.91, 58.52)
CIE-LCHlch(67.10, 63.21, 112.22°)
OKLaboklab(70.82% -0.0712 0.13)
OKLCHoklch(70.82% 0.148 118.7)
XYZxyz(28.4061, 36.7680, 8.2893)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD2F #442FAD
analogous
#AD832F #98AD2F #59AD2F
triadic
#98AD2F #2F98AD #AD2F98
tetradic
#98AD2F #2FAD83 #442FAD #AD2F59
square
#98AD2F #2FAD83 #442FAD #AD2F59
split-complementary
#98AD2F #2F59AD #832FAD
monochromatic
#434D15 #6E7D22 #98AD2F #B8CE4B #CBDB7B

Accessibility & contrast

On white

2.51
#98AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#98AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD2F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD2F#FFFFFF#000000##000000
##98AD2F1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A317
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#A1A395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad2f;
/* rgb */ color: rgb(152, 173, 47);
/* oklch */ color: oklch(70.8% 0.148 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac570',
    500: '#98ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #98ad2f;
$custom-light: #bac570;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad2f",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 70,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.14823,
    "h": 118.7
  },
  "luminance": 0.36768
}

Semantic roles & 50–950 ramp

primary
#98AD2F
secondary
#8174C4
accent
#47E161
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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