#98B256#98B256

#98B256 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.4% C 0.123 H 122.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#98B256
RGBrgb(152, 178, 86)
HSLhsl(77, 37%, 52%)
HSVhsv(77, 52%, 70%)
CMYKcmyk(14.6%, 0%, 51.7%, 30.2%)
CIE-LABlab(68.89, -23.40, 43.62)
CIE-LCHlch(68.89, 49.50, 118.20°)
OKLaboklab(72.37% -0.066 0.1034)
OKLCHoklch(72.37% 0.123 122.6)
XYZxyz(30.5491, 39.1880, 14.7569)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B256 #7056B2
analogous
#B29E56 #98B256 #6AB256
triadic
#98B256 #5698B2 #B25698
tetradic
#98B256 #56B29E #7056B2 #B2566A
square
#98B256 #56B29E #7056B2 #B2566A
split-complementary
#98B256 #566AB2 #9E56B2
monochromatic
#52612C #768B3F #98B256 #B2C580 #CBD8AA

Accessibility & contrast

On white

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

On black

8.84
#98B256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B256
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B256#FFFFFF#000000##000000
##98B2561.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA94E
Deuteranopia (green-blind)
#B8A85B
Tritanopia (blue-blind)
#9EAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b256;
/* rgb */ color: rgb(152, 178, 86);
/* oklch */ color: oklch(72.4% 0.123 122.6);
Tailwind
colors: {
  custom: {
    50: '#b8c988',
    500: '#98b256',
    950: '#000000',
  },
}
SCSS
$custom: #98b256;
$custom-light: #b8c988;
$custom-dark: #000000;
JSON
{
  "hex": "#98b256",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 76.957,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.12266,
    "h": 122.6
  },
  "luminance": 0.39188
}

Semantic roles & 50–950 ramp

primary
#98B256
secondary
#A99EC6
accent
#5ACD7B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B256

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

Preview Lab → · Contrast checker → · Palette generator →

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