#98B326#98B326

#98B326 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.160 H 120.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#98B326
RGBrgb(152, 179, 38)
HSLhsl(71, 65%, 43%)
HSVhsv(71, 79%, 70%)
CMYKcmyk(15.1%, 0%, 78.8%, 29.8%)
CIE-LABlab(68.79, -27.26, 63.05)
CIE-LCHlch(68.79, 68.69, 113.38°)
OKLaboklab(72.17% -0.0811 0.1381)
OKLCHoklch(72.17% 0.16 120.4)
XYZxyz(29.4194, 39.0556, 7.8220)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B326 #4126B3
analogous
#B38726 #98B326 #52B326
triadic
#98B326 #2698B3 #B32698
tetradic
#98B326 #26B387 #4126B3 #B32652
square
#98B326 #26B387 #4126B3 #B32652
split-complementary
#98B326 #2652B3 #8726B3
monochromatic
#424E11 #6D811B #98B326 #BAD640 #CCE172

Accessibility & contrast

On white

2.38
#98B326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#98B326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B326
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B326#FFFFFF#000000##000000
##98B3261.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A1A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b326;
/* rgb */ color: rgb(152, 179, 38);
/* oklch */ color: oklch(72.2% 0.160 120.4);
Tailwind
colors: {
  custom: {
    50: '#bac96d',
    500: '#98b326',
    950: '#000000',
  },
}
SCSS
$custom: #98b326;
$custom-light: #bac96d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b326",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 71.489,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72168,
    "c": 0.16015,
    "h": 120.4
  },
  "luminance": 0.39056
}

Semantic roles & 50–950 ramp

primary
#98B326
secondary
#7E6DC8
accent
#40E860
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B326

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

Preview Lab → · Contrast checker → · Palette generator →

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