#98AF34#98AF34

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

Color values

HEX#98AF34
RGBrgb(152, 175, 52)
HSLhsl(71, 54%, 45%)
HSVhsv(71, 70%, 69%)
CMYKcmyk(13.1%, 0%, 70.3%, 31.4%)
CIE-LABlab(67.71, -24.61, 57.28)
CIE-LCHlch(67.71, 62.34, 113.25°)
OKLaboklab(71.32% -0.0727 0.1283)
OKLCHoklch(71.32% 0.147 119.5)
XYZxyz(28.8992, 37.5834, 8.9800)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF34 #4B34AF
analogous
#AF8934 #98AF34 #5AAF34
triadic
#98AF34 #3498AF #AF3498
tetradic
#98AF34 #34AF89 #4B34AF #AF345A
square
#98AF34 #34AF89 #4B34AF #AF345A
split-complementary
#98AF34 #345AAF #8934AF
monochromatic
#465118 #6F8026 #98AF34 #B6CC54 #CADA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF34#FFFFFF#000000##000000
##98AF341.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98af34;
/* rgb */ color: rgb(152, 175, 52);
/* oklch */ color: oklch(71.3% 0.147 119.5);
Tailwind
colors: {
  custom: {
    50: '#b9c673',
    500: '#98af34',
    950: '#000000',
  },
}
SCSS
$custom: #98af34;
$custom-light: #b9c673;
$custom-dark: #000000;
JSON
{
  "hex": "#98af34",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 71.22,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.1474,
    "h": 119.5
  },
  "luminance": 0.37583
}

Semantic roles & 50–950 ramp

primary
#98AF34
secondary
#897BC4
accent
#4ADE66
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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