#98B023#98B023

#98B023 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.5% C 0.158 H 119.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#98B023
RGBrgb(152, 176, 35)
HSLhsl(70, 67%, 41%)
HSVhsv(70, 80%, 69%)
CMYKcmyk(13.6%, 0%, 80.1%, 31%)
CIE-LABlab(67.91, -25.93, 63.13)
CIE-LCHlch(67.91, 68.24, 112.33°)
OKLaboklab(71.45% -0.0777 0.1377)
OKLCHoklch(71.45% 0.158 119.4)
XYZxyz(28.7782, 37.8476, 7.3790)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B023 #3B23B0
analogous
#B08223 #98B023 #52B023
triadic
#98B023 #2398B0 #B02398
tetradic
#98B023 #23B082 #3B23B0 #B02352
square
#98B023 #23B082 #3B23B0 #B02352
split-complementary
#98B023 #2352B0 #8223B0
monochromatic
#404A0F #6C7D19 #98B023 #BDD839 #CEE26C

Accessibility & contrast

On white

2.45
#98B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#98B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B023
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B023#FFFFFF#000000##000000
##98B0231.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#A1A696
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98b023;
/* rgb */ color: rgb(152, 176, 35);
/* oklch */ color: oklch(71.5% 0.158 119.4);
Tailwind
colors: {
  custom: {
    50: '#bac76b',
    500: '#98b023',
    950: '#000000',
  },
}
SCSS
$custom: #98b023;
$custom-light: #bac76b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b023",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 70.213,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.15813,
    "h": 119.4
  },
  "luminance": 0.37847
}

Semantic roles & 50–950 ramp

primary
#98B023
secondary
#7767C8
accent
#3EEA5B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B023

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

Preview Lab → · Contrast checker → · Palette generator →

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