#98B23E#98B23E

#98B23E is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.144 H 120.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#98B23E
RGBrgb(152, 178, 62)
HSLhsl(73, 48%, 47%)
HSVhsv(73, 65%, 70%)
CMYKcmyk(14.6%, 0%, 65.2%, 30.2%)
CIE-LABlab(68.65, -25.44, 54.26)
CIE-LCHlch(68.65, 59.93, 115.12°)
OKLaboklab(72.1% -0.074 0.1234)
OKLCHoklch(72.1% 0.144 120.9)
XYZxyz(29.7392, 38.8640, 10.4913)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B23E #583EB2
analogous
#B2923E #98B23E #5EB23E
triadic
#98B23E #3E98B2 #B23E98
tetradic
#98B23E #3EB292 #583EB2 #B23E5E
square
#98B23E #3EB292 #583EB2 #B23E5E
split-complementary
#98B23E #3E5EB2 #923EB2
monochromatic
#4A571E #71852E #98B23E #B2C964 #C9D992

Accessibility & contrast

On white

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

On black

8.77
#98B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B23E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B23E#FFFFFF#000000##000000
##98B23E1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#B9A846
Tritanopia (blue-blind)
#A0A99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b23e;
/* rgb */ color: rgb(152, 178, 62);
/* oklch */ color: oklch(72.1% 0.144 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c979',
    500: '#98b23e',
    950: '#000000',
  },
}
SCSS
$custom: #98b23e;
$custom-light: #b9c979;
$custom-dark: #000000;
JSON
{
  "hex": "#98b23e",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 73.448,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.14391,
    "h": 120.9
  },
  "luminance": 0.38864
}

Semantic roles & 50–950 ramp

primary
#98B23E
secondary
#9588C4
accent
#50D86E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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