#98B923#98B923

#98B923 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.6% C 0.168 H 122.1°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#98B923
RGBrgb(152, 185, 35)
HSLhsl(73, 68%, 43%)
HSVhsv(73, 81%, 73%)
CMYKcmyk(17.8%, 0%, 81.1%, 27.5%)
CIE-LABlab(70.52, -30.24, 65.45)
CIE-LCHlch(70.52, 72.10, 114.80°)
OKLaboklab(73.56% -0.0895 0.1427)
OKLCHoklch(73.56% 0.168 122.1)
XYZxyz(30.6017, 41.4946, 7.9869)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B923 #4423B9
analogous
#B98F23 #98B923 #4DB923
triadic
#98B923 #2398B9 #B92398
tetradic
#98B923 #23B98F #4423B9 #B9234D
square
#98B923 #23B98F #4423B9 #B9234D
split-complementary
#98B923 #234DB9 #8F23B9
monochromatic
#435210 #6E8619 #98B923 #B8DB3F #CBE472

Accessibility & contrast

On white

2.26
#98B923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#98B923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B923
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B923#FFFFFF#000000##000000
##98B9231.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#A1AF9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b923;
/* rgb */ color: rgb(152, 185, 35);
/* oklch */ color: oklch(73.6% 0.168 122.1);
Tailwind
colors: {
  custom: {
    50: '#bace6d',
    500: '#98b923',
    950: '#000000',
  },
}
SCSS
$custom: #98b923;
$custom-light: #bace6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b923",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 35
  },
  "hsl": {
    "h": 73.2,
    "s": 68.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.16842,
    "h": 122.1
  },
  "luminance": 0.41495
}

Semantic roles & 50–950 ramp

primary
#98B923
secondary
#816DCB
accent
#3DEB63
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B923

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

Preview Lab → · Contrast checker → · Palette generator →

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