#98B229#98B229

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

Color values

HEX#98B229
RGBrgb(152, 178, 41)
HSLhsl(71, 63%, 43%)
HSVhsv(71, 77%, 70%)
CMYKcmyk(14.6%, 0%, 77%, 30.2%)
CIE-LABlab(68.52, -26.65, 61.88)
CIE-LCHlch(68.52, 67.37, 113.30°)
OKLaboklab(71.95% -0.0792 0.1361)
OKLCHoklch(71.95% 0.157 120.2)
XYZxyz(29.2701, 38.6764, 8.0207)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B229 #4329B2
analogous
#B28729 #98B229 #53B229
triadic
#98B229 #2998B2 #B22998
tetradic
#98B229 #29B287 #4329B2 #B22953
square
#98B229 #29B287 #4329B2 #B22953
split-complementary
#98B229 #2953B2 #8729B2
monochromatic
#434F12 #6E801E #98B229 #B9D444 #CBDF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B229#FFFFFF#000000##000000
##98B2291.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)
#BDA702
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#A1A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b229;
/* rgb */ color: rgb(152, 178, 41);
/* oklch */ color: oklch(72.0% 0.157 120.2);
Tailwind
colors: {
  custom: {
    50: '#bac96e',
    500: '#98b229',
    950: '#000000',
  },
}
SCSS
$custom: #98b229;
$custom-light: #bac96e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b229",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 71.387,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.15747,
    "h": 120.2
  },
  "luminance": 0.38676
}

Semantic roles & 50–950 ramp

primary
#98B229
secondary
#8070C7
accent
#42E661
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B229

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

Preview Lab → · Contrast checker → · Palette generator →

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