#98B92F#98B92F

#98B92F is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.6% C 0.162 H 122.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#98B92F
RGBrgb(152, 185, 47)
HSLhsl(74, 59%, 45%)
HSVhsv(74, 75%, 73%)
CMYKcmyk(17.8%, 0%, 74.6%, 27.5%)
CIE-LABlab(70.58, -29.71, 61.86)
CIE-LCHlch(70.58, 68.63, 115.66°)
OKLaboklab(73.63% -0.0871 0.1371)
OKLCHoklch(73.63% 0.162 122.4)
XYZxyz(30.8114, 41.5785, 9.0910)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B92F #502FB9
analogous
#B9952F #98B92F #53B92F
triadic
#98B92F #2F98B9 #B92F98
tetradic
#98B92F #2FB995 #502FB9 #B92F53
square
#98B92F #2FB995 #502FB9 #B92F53
split-complementary
#98B92F #2F53B9 #952FB9
monochromatic
#485716 #708823 #98B92F #B4D352 #C9DF83

Accessibility & contrast

On white

2.25
#98B92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#98B92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B92F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B92F#FFFFFF#000000##000000
##98B92F1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD10
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#A0AF9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98b92f;
/* rgb */ color: rgb(152, 185, 47);
/* oklch */ color: oklch(73.6% 0.162 122.4);
Tailwind
colors: {
  custom: {
    50: '#bace72',
    500: '#98b92f',
    950: '#000000',
  },
}
SCSS
$custom: #98b92f;
$custom-light: #bace72;
$custom-dark: #000000;
JSON
{
  "hex": "#98b92f",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 74.348,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.16242,
    "h": 122.4
  },
  "luminance": 0.41579
}

Semantic roles & 50–950 ramp

primary
#98B92F
secondary
#8E7BC9
accent
#45E36B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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