#98AF2A#98AF2A

#98AF2A is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.153 H 119.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#98AF2A
RGBrgb(152, 175, 42)
HSLhsl(70, 61%, 43%)
HSVhsv(70, 76%, 69%)
CMYKcmyk(13.1%, 0%, 76%, 31.4%)
CIE-LABlab(67.65, -25.14, 60.75)
CIE-LCHlch(67.65, 65.75, 112.48°)
OKLaboklab(71.26% -0.075 0.1339)
OKLCHoklch(71.26% 0.153 119.2)
XYZxyz(28.6974, 37.5027, 7.9170)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF2A #412AAF
analogous
#AF832A #98AF2A #55AF2A
triadic
#98AF2A #2A98AF #AF2A98
tetradic
#98AF2A #2AAF83 #412AAF #AF2A55
square
#98AF2A #2AAF83 #412AAF #AF2A55
split-complementary
#98AF2A #2A55AF #832AAF
monochromatic
#424C12 #6D7E1E #98AF2A #BAD244 #CCDE75

Accessibility & contrast

On white

2.47
#98AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#98AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF2A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF2A#FFFFFF#000000##000000
##98AF2A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af2a;
/* rgb */ color: rgb(152, 175, 42);
/* oklch */ color: oklch(71.3% 0.153 119.2);
Tailwind
colors: {
  custom: {
    50: '#bac66e',
    500: '#98af2a',
    950: '#000000',
  },
}
SCSS
$custom: #98af2a;
$custom-light: #bac66e;
$custom-dark: #000000;
JSON
{
  "hex": "#98af2a",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 70.376,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.15346,
    "h": 119.2
  },
  "luminance": 0.37503
}

Semantic roles & 50–950 ramp

primary
#98AF2A
secondary
#7E6FC6
accent
#43E45F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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