#98B73B#98B73B

#98B73B is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.2% C 0.152 H 122.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#98B73B
RGBrgb(152, 183, 59)
HSLhsl(75, 51%, 47%)
HSVhsv(75, 68%, 72%)
CMYKcmyk(16.9%, 0%, 67.8%, 28.2%)
CIE-LABlab(70.08, -28.06, 56.96)
CIE-LCHlch(70.08, 63.50, 116.23°)
OKLaboklab(73.24% -0.0815 0.1287)
OKLCHoklch(73.24% 0.152 122.4)
XYZxyz(30.6722, 40.8581, 10.4073)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B73B #5A3BB7
analogous
#B7983B #98B73B #5AB73B
triadic
#98B73B #3B98B7 #B73B98
tetradic
#98B73B #3BB798 #5A3BB7 #B73B5A
square
#98B73B #3BB798 #5A3BB7 #B73B5A
split-complementary
#98B73B #3B5AB7 #983BB7
monochromatic
#4B5A1D #72892C #98B73B #B2CD63 #C9DC91

Accessibility & contrast

On white

2.29
#98B73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#98B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B73B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B73B#FFFFFF#000000##000000
##98B73B1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC29
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#A0AE9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b73b;
/* rgb */ color: rgb(152, 183, 59);
/* oklch */ color: oklch(73.2% 0.152 122.4);
Tailwind
colors: {
  custom: {
    50: '#b9cc78',
    500: '#98b73b',
    950: '#000000',
  },
}
SCSS
$custom: #98b73b;
$custom-light: #b9cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#98b73b",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 75,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.15234,
    "h": 122.4
  },
  "luminance": 0.40858
}

Semantic roles & 50–950 ramp

primary
#98B73B
secondary
#9787C6
accent
#4DDB70
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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