#98B62B#98B62B

#98B62B is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.161 H 121.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#98B62B
RGBrgb(152, 182, 43)
HSLhsl(73, 62%, 44%)
HSVhsv(73, 76%, 71%)
CMYKcmyk(16.5%, 0%, 76.4%, 28.6%)
CIE-LABlab(69.69, -28.48, 62.33)
CIE-LCHlch(69.69, 68.53, 114.56°)
OKLaboklab(72.9% -0.0841 0.1374)
OKLCHoklch(72.9% 0.161 121.5)
XYZxyz(30.1134, 40.3057, 8.4784)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B62B #492BB6
analogous
#B68F2B #98B62B #52B62B
triadic
#98B62B #2B98B6 #B62B98
tetradic
#98B62B #2BB68F #492BB6 #B62B52
square
#98B62B #2BB68F #492BB6 #B62B52
split-complementary
#98B62B #2B52B6 #8F2BB6
monochromatic
#455314 #6F841F #98B62B #B6D44A #CAE07B

Accessibility & contrast

On white

2.32
#98B62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#98B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B62B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B62B#FFFFFF#000000##000000
##98B62B1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB06
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#A1AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b62b;
/* rgb */ color: rgb(152, 182, 43);
/* oklch */ color: oklch(72.9% 0.161 121.5);
Tailwind
colors: {
  custom: {
    50: '#bacc70',
    500: '#98b62b',
    950: '#000000',
  },
}
SCSS
$custom: #98b62b;
$custom-light: #bacc70;
$custom-dark: #000000;
JSON
{
  "hex": "#98b62b",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 72.95,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72898,
    "c": 0.16108,
    "h": 121.5
  },
  "luminance": 0.40306
}

Semantic roles & 50–950 ramp

primary
#98B62B
secondary
#8775C8
accent
#43E566
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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