#98B62F#98B62F

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

Color values

HEX#98B62F
RGBrgb(152, 182, 47)
HSLhsl(73, 59%, 45%)
HSVhsv(73, 74%, 71%)
CMYKcmyk(16.5%, 0%, 74.2%, 28.6%)
CIE-LABlab(69.71, -28.28, 61.03)
CIE-LCHlch(69.71, 67.26, 114.86°)
OKLaboklab(72.92% -0.0832 0.1353)
OKLCHoklch(72.92% 0.159 121.6)
XYZxyz(30.1904, 40.3365, 8.8840)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B62F #4D2FB6
analogous
#B6902F #98B62F #55B62F
triadic
#98B62F #2F98B6 #B62F98
tetradic
#98B62F #2FB690 #4D2FB6 #B62F55
square
#98B62F #2FB690 #4D2FB6 #B62F55
split-complementary
#98B62F #2F55B6 #902FB6
monochromatic
#475516 #6F8522 #98B62F #B5D250 #CADE81

Accessibility & contrast

On white

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

On black

9.07
#98B62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B62F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B62F#FFFFFF#000000##000000
##98B62F1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#A0AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b62f;
/* rgb */ color: rgb(152, 182, 47);
/* oklch */ color: oklch(72.9% 0.159 121.6);
Tailwind
colors: {
  custom: {
    50: '#bacc71',
    500: '#98b62f',
    950: '#000000',
  },
}
SCSS
$custom: #98b62f;
$custom-light: #bacc71;
$custom-dark: #000000;
JSON
{
  "hex": "#98b62f",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 73.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.15886,
    "h": 121.6
  },
  "luminance": 0.40337
}

Semantic roles & 50–950 ramp

primary
#98B62F
secondary
#8B79C7
accent
#46E268
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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