#98B22B#98B22B

#98B22B is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.0% C 0.156 H 120.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#98B22B
RGBrgb(152, 178, 43)
HSLhsl(72, 61%, 43%)
HSVhsv(72, 76%, 70%)
CMYKcmyk(14.6%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.53, -26.55, 61.24)
CIE-LCHlch(68.53, 66.75, 113.44°)
OKLaboklab(71.96% -0.0788 0.1351)
OKLCHoklch(71.96% 0.156 120.3)
XYZxyz(29.3059, 38.6907, 8.2092)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B22B #452BB2
analogous
#B2882B #98B22B #54B22B
triadic
#98B22B #2B98B2 #B22B98
tetradic
#98B22B #2BB288 #452BB2 #B22B54
square
#98B22B #2BB288 #452BB2 #B22B54
split-complementary
#98B22B #2B54B2 #882BB2
monochromatic
#444F13 #6E811F #98B22B #B8D348 #CBDF79

Accessibility & contrast

On white

2.40
#98B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#98B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B22B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B22B#FFFFFF#000000##000000
##98B22B1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA709
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A1A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b22b;
/* rgb */ color: rgb(152, 178, 43);
/* oklch */ color: oklch(72.0% 0.156 120.3);
Tailwind
colors: {
  custom: {
    50: '#bac96f',
    500: '#98b22b',
    950: '#000000',
  },
}
SCSS
$custom: #98b22b;
$custom-light: #bac96f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b22b",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 71.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71962,
    "c": 0.1564,
    "h": 120.3
  },
  "luminance": 0.38691
}

Semantic roles & 50–950 ramp

primary
#98B22B
secondary
#8272C7
accent
#44E463
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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