#98B92B#98B92B

#98B92B is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.6% C 0.165 H 122.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#98B92B
RGBrgb(152, 185, 43)
HSLhsl(74, 62%, 45%)
HSVhsv(74, 77%, 73%)
CMYKcmyk(17.8%, 0%, 76.8%, 27.5%)
CIE-LABlab(70.56, -29.91, 63.14)
CIE-LCHlch(70.56, 69.87, 115.34°)
OKLaboklab(73.6% -0.088 0.1391)
OKLCHoklch(73.6% 0.165 122.3)
XYZxyz(30.7344, 41.5477, 8.6854)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B92B #4C2BB9
analogous
#B9932B #98B92B #51B92B
triadic
#98B92B #2B98B9 #B92B98
tetradic
#98B92B #2BB993 #4C2BB9 #B92B51
square
#98B92B #2BB993 #4C2BB9 #B92B51
split-complementary
#98B92B #2B51B9 #932BB9
monochromatic
#465614 #6F871F #98B92B #B5D54C #CAE17E

Accessibility & contrast

On white

2.26
#98B92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#98B92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B92B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B92B#FFFFFF#000000##000000
##98B92B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD03
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#A0AF9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98b92b;
/* rgb */ color: rgb(152, 185, 43);
/* oklch */ color: oklch(73.6% 0.165 122.3);
Tailwind
colors: {
  custom: {
    50: '#bace70',
    500: '#98b92b',
    950: '#000000',
  },
}
SCSS
$custom: #98b92b;
$custom-light: #bace70;
$custom-dark: #000000;
JSON
{
  "hex": "#98b92b",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 73.944,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73601,
    "c": 0.1646,
    "h": 122.3
  },
  "luminance": 0.41548
}

Semantic roles & 50–950 ramp

primary
#98B92B
secondary
#8A76C9
accent
#42E568
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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