#98AA3F#98AA3F

#98AA3F is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 70.3% C 0.133 H 118.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#98AA3F
RGBrgb(152, 170, 63)
HSLhsl(70, 46%, 46%)
HSVhsv(70, 63%, 67%)
CMYKcmyk(10.6%, 0%, 62.9%, 33.3%)
CIE-LABlab(66.35, -21.41, 51.39)
CIE-LCHlch(66.35, 55.67, 112.62°)
OKLaboklab(70.26% -0.0627 0.1175)
OKLCHoklch(70.26% 0.133 118.1)
XYZxyz(28.2213, 35.7840, 10.1220)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA3F #513FAA
analogous
#AA863F #98AA3F #63AA3F
triadic
#98AA3F #3F98AA #AA3F98
tetradic
#98AA3F #3FAA86 #513FAA #AA3F63
square
#98AA3F #3FAA86 #513FAA #AA3F63
split-complementary
#98AA3F #3F63AA #863FAA
monochromatic
#48511E #707D2E #98AA3F #B4C562 #C9D58E

Accessibility & contrast

On white

2.57
#98AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#98AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA3F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA3F#FFFFFF#000000##000000
##98AA3F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#A1A194
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa3f;
/* rgb */ color: rgb(152, 170, 63);
/* oklch */ color: oklch(70.3% 0.133 118.1);
Tailwind
colors: {
  custom: {
    50: '#b9c379',
    500: '#98aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #98aa3f;
$custom-light: #b9c379;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa3f",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 70.093,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.13317,
    "h": 118.1
  },
  "luminance": 0.35784
}

Semantic roles & 50–950 ramp

primary
#98AA3F
secondary
#8F85C0
accent
#52D668
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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