#98B042#98B042

#98B042 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.7% C 0.138 H 120.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#98B042
RGBrgb(152, 176, 66)
HSLhsl(73, 45%, 47%)
HSVhsv(73, 63%, 69%)
CMYKcmyk(13.6%, 0%, 62.5%, 31%)
CIE-LABlab(68.11, -24.17, 51.98)
CIE-LCHlch(68.11, 57.33, 114.93°)
OKLaboklab(71.68% -0.0701 0.1192)
OKLCHoklch(71.68% 0.138 120.5)
XYZxyz(29.4580, 38.1195, 10.9591)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B042 #5A42B0
analogous
#B09142 #98B042 #61B042
triadic
#98B042 #4298B0 #B04298
tetradic
#98B042 #42B091 #5A42B0 #B04261
square
#98B042 #42B091 #5A42B0 #B04261
split-complementary
#98B042 #4261B0 #9142B0
monochromatic
#4B5721 #728331 #98B042 #B2C769 #C9D795

Accessibility & contrast

On white

2.44
#98B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#98B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B042
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B042#FFFFFF#000000##000000
##98B0421.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#A0A799
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b042;
/* rgb */ color: rgb(152, 176, 66);
/* oklch */ color: oklch(71.7% 0.138 120.5);
Tailwind
colors: {
  custom: {
    50: '#b9c77b',
    500: '#98b042',
    950: '#000000',
  },
}
SCSS
$custom: #98b042;
$custom-light: #b9c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b042",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 73.091,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.13823,
    "h": 120.5
  },
  "luminance": 0.38119
}

Semantic roles & 50–950 ramp

primary
#98B042
secondary
#978BC3
accent
#53D56F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B042

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

Preview Lab → · Contrast checker → · Palette generator →

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