#98B319#98B319

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

Color values

HEX#98B319
RGBrgb(152, 179, 25)
HSLhsl(71, 75%, 40%)
HSVhsv(71, 86%, 70%)
CMYKcmyk(15.1%, 0%, 86%, 29.8%)
CIE-LABlab(68.74, -27.71, 66.35)
CIE-LCHlch(68.74, 71.91, 112.67°)
OKLaboklab(72.11% -0.0832 0.143)
OKLCHoklch(72.11% 0.165 120.2)
XYZxyz(29.2451, 38.9859, 6.9039)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B319 #3419B3
analogous
#B38119 #98B319 #4BB319
triadic
#98B319 #1998B3 #B31998
tetradic
#98B319 #19B381 #3419B3 #B3194B
square
#98B319 #19B381 #3419B3 #B3194B
split-complementary
#98B319 #194BB3 #8119B3
monochromatic
#3D480A #6A7D12 #98B319 #C1E128 #D0E85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B319#FFFFFF#000000##000000
##98B3191.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)
#BCA82C
Tritanopia (blue-blind)
#A1A998
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b319;
/* rgb */ color: rgb(152, 179, 25);
/* oklch */ color: oklch(72.1% 0.165 120.2);
Tailwind
colors: {
  custom: {
    50: '#bac968',
    500: '#98b319',
    950: '#000000',
  },
}
SCSS
$custom: #98b319;
$custom-light: #bac968;
$custom-dark: #000000;
JSON
{
  "hex": "#98b319",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 70.519,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.16546,
    "h": 120.2
  },
  "luminance": 0.38986
}

Semantic roles & 50–950 ramp

primary
#98B319
secondary
#6F5BCC
accent
#36F257
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B319

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

Preview Lab → · Contrast checker → · Palette generator →

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