#98B317#98B317

#98B317 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.1% C 0.166 H 120.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#98B317
RGBrgb(152, 179, 23)
HSLhsl(70, 77%, 40%)
HSVhsv(70, 87%, 70%)
CMYKcmyk(15.1%, 0%, 87.2%, 29.8%)
CIE-LABlab(68.73, -27.76, 66.77)
CIE-LCHlch(68.73, 72.31, 112.58°)
OKLaboklab(72.1% -0.0834 0.1436)
OKLCHoklch(72.1% 0.166 120.2)
XYZxyz(29.2243, 38.9776, 6.7943)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B317 #3217B3
analogous
#B38017 #98B317 #4AB317
triadic
#98B317 #1798B3 #B31798
tetradic
#98B317 #17B380 #3217B3 #B3174A
square
#98B317 #17B380 #3217B3 #B3174A
split-complementary
#98B317 #174AB3 #8017B3
monochromatic
#3C4709 #6A7D10 #98B317 #C2E324 #D1EA5B

Accessibility & contrast

On white

2.39
#98B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#98B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B317
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B317#FFFFFF#000000##000000
##98B3171.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BCA82B
Tritanopia (blue-blind)
#A1A998
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b317;
/* rgb */ color: rgb(152, 179, 23);
/* oklch */ color: oklch(72.1% 0.166 120.2);
Tailwind
colors: {
  custom: {
    50: '#bbc968',
    500: '#98b317',
    950: '#000000',
  },
}
SCSS
$custom: #98b317;
$custom-light: #bbc968;
$custom-dark: #000000;
JSON
{
  "hex": "#98b317",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 70.385,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.16611,
    "h": 120.2
  },
  "luminance": 0.38977
}

Semantic roles & 50–950 ramp

primary
#98B317
secondary
#6D58CD
accent
#34F455
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #98B317

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

Preview Lab → · Contrast checker → · Palette generator →

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