#98AF3E#98AF3E

#98AF3E is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.4% C 0.140 H 119.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#98AF3E
RGBrgb(152, 175, 62)
HSLhsl(72, 48%, 46%)
HSVhsv(72, 65%, 69%)
CMYKcmyk(13.1%, 0%, 64.6%, 31.4%)
CIE-LABlab(67.79, -23.97, 53.35)
CIE-LCHlch(67.79, 58.48, 114.19°)
OKLaboklab(71.41% -0.0699 0.1215)
OKLCHoklch(71.41% 0.14 119.9)
XYZxyz(29.1488, 37.6833, 10.2945)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF3E #553EAF
analogous
#AF8E3E #98AF3E #60AF3E
triadic
#98AF3E #3E98AF #AF3E98
tetradic
#98AF3E #3EAF8E #553EAF #AF3E60
square
#98AF3E #3EAF8E #553EAF #AF3E60
split-complementary
#98AF3E #3E60AF #8E3EAF
monochromatic
#4A551E #71822E #98AF3E #B3C863 #C9D890

Accessibility & contrast

On white

2.46
#98AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#98AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF3E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF3E#FFFFFF#000000##000000
##98AF3E1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52F
Deuteranopia (green-blind)
#B7A546
Tritanopia (blue-blind)
#A0A698
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af3e;
/* rgb */ color: rgb(152, 175, 62);
/* oklch */ color: oklch(71.4% 0.140 119.9);
Tailwind
colors: {
  custom: {
    50: '#b9c679',
    500: '#98af3e',
    950: '#000000',
  },
}
SCSS
$custom: #98af3e;
$custom-light: #b9c679;
$custom-dark: #000000;
JSON
{
  "hex": "#98af3e",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 72.212,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71407,
    "c": 0.14017,
    "h": 119.9
  },
  "luminance": 0.37683
}

Semantic roles & 50–950 ramp

primary
#98AF3E
secondary
#9286C3
accent
#51D76C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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