#98AF2D#98AF2D

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

Color values

HEX#98AF2D
RGBrgb(152, 175, 45)
HSLhsl(71, 59%, 43%)
HSVhsv(71, 74%, 69%)
CMYKcmyk(13.1%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.67, -24.99, 59.76)
CIE-LCHlch(67.67, 64.78, 112.70°)
OKLaboklab(71.28% -0.0743 0.1323)
OKLCHoklch(71.28% 0.152 119.3)
XYZxyz(28.7531, 37.5250, 8.2104)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF2D #442DAF
analogous
#AF852D #98AF2D #57AF2D
triadic
#98AF2D #2D98AF #AF2D98
tetradic
#98AF2D #2DAF85 #442DAF #AF2D57
square
#98AF2D #2DAF85 #442DAF #AF2D57
split-complementary
#98AF2D #2D57AF #852DAF
monochromatic
#434E14 #6E7E20 #98AF2D #B8D049 #CBDD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF2D#FFFFFF#000000##000000
##98AF2D1.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)
#BAA511
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af2d;
/* rgb */ color: rgb(152, 175, 45);
/* oklch */ color: oklch(71.3% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#bac670',
    500: '#98af2d',
    950: '#000000',
  },
}
SCSS
$custom: #98af2d;
$custom-light: #bac670;
$custom-dark: #000000;
JSON
{
  "hex": "#98af2d",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 70.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71275,
    "c": 0.15177,
    "h": 119.3
  },
  "luminance": 0.37525
}

Semantic roles & 50–950 ramp

primary
#98AF2D
secondary
#8173C5
accent
#46E261
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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