#98AF38#98AF38

#98AF38 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.4% C 0.145 H 119.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#98AF38
RGBrgb(152, 175, 56)
HSLhsl(72, 52%, 45%)
HSVhsv(72, 68%, 69%)
CMYKcmyk(13.1%, 0%, 68%, 31.4%)
CIE-LABlab(67.74, -24.37, 55.75)
CIE-LCHlch(67.74, 60.85, 113.61°)
OKLaboklab(71.36% -0.0716 0.1257)
OKLCHoklch(71.36% 0.145 119.7)
XYZxyz(28.9932, 37.6210, 9.4748)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF38 #4F38AF
analogous
#AF8B38 #98AF38 #5CAF38
triadic
#98AF38 #3898AF #AF3898
tetradic
#98AF38 #38AF8B #4F38AF #AF385C
square
#98AF38 #38AF8B #4F38AF #AF385C
split-complementary
#98AF38 #385CAF #8B38AF
monochromatic
#47521A #708129 #98AF38 #B5CA5A #C9D988

Accessibility & contrast

On white

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

On black

8.52
#98AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF38
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF38#FFFFFF#000000##000000
##98AF381.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af38;
/* rgb */ color: rgb(152, 175, 56);
/* oklch */ color: oklch(71.4% 0.145 119.7);
Tailwind
colors: {
  custom: {
    50: '#b9c675',
    500: '#98af38',
    950: '#000000',
  },
}
SCSS
$custom: #98af38;
$custom-light: #b9c675;
$custom-dark: #000000;
JSON
{
  "hex": "#98af38",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 71.597,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71355,
    "c": 0.14464,
    "h": 119.7
  },
  "luminance": 0.37621
}

Semantic roles & 50–950 ramp

primary
#98AF38
secondary
#8D80C3
accent
#4DDB68
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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