#98AF3D#98AF3D

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

Color values

HEX#98AF3D
RGBrgb(152, 175, 61)
HSLhsl(72, 48%, 46%)
HSVhsv(72, 65%, 69%)
CMYKcmyk(13.1%, 0%, 65.1%, 31.4%)
CIE-LABlab(67.78, -24.04, 53.76)
CIE-LCHlch(67.78, 58.89, 114.09°)
OKLaboklab(71.4% -0.0702 0.1222)
OKLCHoklch(71.4% 0.141 119.9)
XYZxyz(29.1216, 37.6724, 10.1513)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF3D #543DAF
analogous
#AF8D3D #98AF3D #5FAF3D
triadic
#98AF3D #3D98AF #AF3D98
tetradic
#98AF3D #3DAF8D #543DAF #AF3D5F
square
#98AF3D #3DAF8D #543DAF #AF3D5F
split-complementary
#98AF3D #3D5FAF #8D3DAF
monochromatic
#49541D #71822D #98AF3D #B3C861 #C9D88F

Accessibility & contrast

On white

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

On black

8.53
#98AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF3D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF3D#FFFFFF#000000##000000
##98AF3D1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98af3d;
/* rgb */ color: rgb(152, 175, 61);
/* oklch */ color: oklch(71.4% 0.141 119.9);
Tailwind
colors: {
  custom: {
    50: '#b9c678',
    500: '#98af3d',
    950: '#000000',
  },
}
SCSS
$custom: #98af3d;
$custom-light: #b9c678;
$custom-dark: #000000;
JSON
{
  "hex": "#98af3d",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 72.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71398,
    "c": 0.14094,
    "h": 119.9
  },
  "luminance": 0.37672
}

Semantic roles & 50–950 ramp

primary
#98AF3D
secondary
#9285C3
accent
#50D86B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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