#98B13B#98B13B

#98B13B is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.8% C 0.145 H 120.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#98B13B
RGBrgb(152, 177, 59)
HSLhsl(73, 50%, 46%)
HSVhsv(73, 67%, 69%)
CMYKcmyk(14.1%, 0%, 66.7%, 30.6%)
CIE-LABlab(68.34, -25.16, 55.17)
CIE-LCHlch(68.34, 60.63, 114.51°)
OKLaboklab(71.85% -0.0735 0.1249)
OKLCHoklch(71.85% 0.145 120.5)
XYZxyz(29.4609, 38.4355, 10.0036)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B13B #543BB1
analogous
#B18F3B #98B13B #5DB13B
triadic
#98B13B #3B98B1 #B13B98
tetradic
#98B13B #3BB18F #543BB1 #B13B5D
square
#98B13B #3BB18F #543BB1 #B13B5D
split-complementary
#98B13B #3B5DB1 #8F3BB1
monochromatic
#49551C #71832C #98B13B #B3CA5F #C9D98D

Accessibility & contrast

On white

2.42
#98B13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#98B13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B13B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B13B#FFFFFF#000000##000000
##98B13B1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#A0A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b13b;
/* rgb */ color: rgb(152, 177, 59);
/* oklch */ color: oklch(71.8% 0.145 120.5);
Tailwind
colors: {
  custom: {
    50: '#b9c877',
    500: '#98b13b',
    950: '#000000',
  },
}
SCSS
$custom: #98b13b;
$custom-light: #b9c877;
$custom-dark: #000000;
JSON
{
  "hex": "#98b13b",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 72.712,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71845,
    "c": 0.14492,
    "h": 120.5
  },
  "luminance": 0.38435
}

Semantic roles & 50–950 ramp

primary
#98B13B
secondary
#9284C4
accent
#4EDA6C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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