#98B42F#98B42F

#98B42F is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.156 H 121.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#98B42F
RGBrgb(152, 180, 47)
HSLhsl(73, 59%, 45%)
HSVhsv(73, 74%, 71%)
CMYKcmyk(15.6%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.13, -27.32, 60.47)
CIE-LCHlch(69.13, 66.36, 114.31°)
OKLaboklab(72.46% -0.0806 0.1342)
OKLCHoklch(72.46% 0.156 121)
XYZxyz(29.7837, 39.5232, 8.7485)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B42F #4B2FB4
analogous
#B48E2F #98B42F #55B42F
triadic
#98B42F #2F98B4 #B42F98
tetradic
#98B42F #2FB48E #4B2FB4 #B42F55
square
#98B42F #2FB48E #4B2FB4 #B42F55
split-complementary
#98B42F #2F55B4 #8E2FB4
monochromatic
#465316 #6F8322 #98B42F #B6D14F #CADE80

Accessibility & contrast

On white

2.36
#98B42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#98B42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B42F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B42F#FFFFFF#000000##000000
##98B42F1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA913
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#A1AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b42f;
/* rgb */ color: rgb(152, 180, 47);
/* oklch */ color: oklch(72.5% 0.156 121.0);
Tailwind
colors: {
  custom: {
    50: '#baca71',
    500: '#98b42f',
    950: '#000000',
  },
}
SCSS
$custom: #98b42f;
$custom-light: #baca71;
$custom-dark: #000000;
JSON
{
  "hex": "#98b42f",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 72.632,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72455,
    "c": 0.15649,
    "h": 121
  },
  "luminance": 0.39523
}

Semantic roles & 50–950 ramp

primary
#98B42F
secondary
#8978C7
accent
#46E267
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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