#98B626#98B626

#98B626 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.164 H 121.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#98B626
RGBrgb(152, 182, 38)
HSLhsl(73, 65%, 43%)
HSVhsv(73, 79%, 71%)
CMYKcmyk(16.5%, 0%, 79.1%, 28.6%)
CIE-LABlab(69.66, -28.70, 63.84)
CIE-LCHlch(69.66, 69.99, 114.21°)
OKLaboklab(72.87% -0.0851 0.1398)
OKLCHoklch(72.87% 0.164 121.3)
XYZxyz(30.0272, 40.2712, 8.0246)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B626 #4426B6
analogous
#B68C26 #98B626 #50B626
triadic
#98B626 #2698B6 #B62698
tetradic
#98B626 #26B68C #4426B6 #B62650
square
#98B626 #26B68C #4426B6 #B62650
split-complementary
#98B626 #2650B6 #8C26B6
monochromatic
#435111 #6E831B #98B626 #B8D742 #CBE274

Accessibility & contrast

On white

2.32
#98B626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#98B626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B626
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B626#FFFFFF#000000##000000
##98B6261.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#A1AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b626;
/* rgb */ color: rgb(152, 182, 38);
/* oklch */ color: oklch(72.9% 0.164 121.3);
Tailwind
colors: {
  custom: {
    50: '#bacb6d',
    500: '#98b626',
    950: '#000000',
  },
}
SCSS
$custom: #98b626;
$custom-light: #bacb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b626",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 38
  },
  "hsl": {
    "h": 72.5,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.1636,
    "h": 121.3
  },
  "luminance": 0.40271
}

Semantic roles & 50–950 ramp

primary
#98B626
secondary
#816EC9
accent
#3FE863
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B626

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

Preview Lab → · Contrast checker → · Palette generator →

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