#98B64F#98B64F

#98B64F is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.2% C 0.135 H 123.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#98B64F
RGBrgb(152, 182, 79)
HSLhsl(77, 41%, 51%)
HSVhsv(77, 57%, 71%)
CMYKcmyk(16.5%, 0%, 56.6%, 28.6%)
CIE-LABlab(69.96, -26.03, 48.20)
CIE-LCHlch(69.96, 54.78, 118.37°)
OKLaboklab(73.21% -0.074 0.1127)
OKLCHoklch(73.21% 0.135 123.3)
XYZxyz(31.0883, 40.6957, 13.6129)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B64F #6D4FB6
analogous
#B6A04F #98B64F #64B64F
triadic
#98B64F #4F98B6 #B64F98
tetradic
#98B64F #4FB6A0 #6D4FB6 #B64F64
square
#98B64F #4FB6A0 #6D4FB6 #B64F64
split-complementary
#98B64F #4F64B6 #A04FB6
monochromatic
#516229 #758D3B #98B64F #B1C87A #CBDAA6

Accessibility & contrast

On white

2.30
#98B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#98B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B64F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B64F#FFFFFF#000000##000000
##98B64F1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC44
Deuteranopia (green-blind)
#BCAB56
Tritanopia (blue-blind)
#9FAE9F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b64f;
/* rgb */ color: rgb(152, 182, 79);
/* oklch */ color: oklch(73.2% 0.135 123.3);
Tailwind
colors: {
  custom: {
    50: '#b8cc84',
    500: '#98b64f',
    950: '#000000',
  },
}
SCSS
$custom: #98b64f;
$custom-light: #b8cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#98b64f",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 77.476,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.13478,
    "h": 123.3
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#98B64F
secondary
#A79AC7
accent
#57D17A
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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