#98B124#98B124

#98B124 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.7% C 0.159 H 119.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#98B124
RGBrgb(152, 177, 36)
HSLhsl(71, 66%, 42%)
HSVhsv(71, 80%, 69%)
CMYKcmyk(14.1%, 0%, 79.7%, 30.6%)
CIE-LABlab(68.20, -26.37, 63.11)
CIE-LCHlch(68.20, 68.39, 112.68°)
OKLaboklab(71.69% -0.0788 0.1379)
OKLCHoklch(71.69% 0.159 119.8)
XYZxyz(28.9901, 38.2472, 7.5239)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B124 #3D24B1
analogous
#B18424 #98B124 #52B124
triadic
#98B124 #2498B1 #B12498
tetradic
#98B124 #24B184 #3D24B1 #B12452
square
#98B124 #24B184 #3D24B1 #B12452
split-complementary
#98B124 #2452B1 #8424B1
monochromatic
#414B0F #6C7E1A #98B124 #BBD73B #CDE16E

Accessibility & contrast

On white

2.43
#98B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#98B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B124
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B124#FFFFFF#000000##000000
##98B1241.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#A1A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b124;
/* rgb */ color: rgb(152, 177, 36);
/* oklch */ color: oklch(71.7% 0.159 119.8);
Tailwind
colors: {
  custom: {
    50: '#bac86c',
    500: '#98b124',
    950: '#000000',
  },
}
SCSS
$custom: #98b124;
$custom-light: #bac86c;
$custom-dark: #000000;
JSON
{
  "hex": "#98b124",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 70.638,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.1588,
    "h": 119.8
  },
  "luminance": 0.38247
}

Semantic roles & 50–950 ramp

primary
#98B124
secondary
#7A69C8
accent
#3FE95D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B124

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

Preview Lab → · Contrast checker → · Palette generator →

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