#98B438#98B438

#98B438 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.5% C 0.151 H 121.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#98B438
RGBrgb(152, 180, 56)
HSLhsl(74, 53%, 46%)
HSVhsv(74, 69%, 71%)
CMYKcmyk(15.6%, 0%, 68.9%, 29.4%)
CIE-LABlab(69.19, -26.81, 57.23)
CIE-LCHlch(69.19, 63.20, 115.10°)
OKLaboklab(72.52% -0.0784 0.1288)
OKLCHoklch(72.52% 0.151 121.3)
XYZxyz(29.9844, 39.6034, 9.8052)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B438 #5438B4
analogous
#B49238 #98B438 #5AB438
triadic
#98B438 #3898B4 #B43898
tetradic
#98B438 #38B492 #5438B4 #B4385A
square
#98B438 #38B492 #5438B4 #B4385A
split-complementary
#98B438 #385AB4 #9238B4
monochromatic
#49571B #718529 #98B438 #B3CD5D #C9DB8B

Accessibility & contrast

On white

2.35
#98B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#98B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B438
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B438#FFFFFF#000000##000000
##98B4381.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b438;
/* rgb */ color: rgb(152, 180, 56);
/* oklch */ color: oklch(72.5% 0.151 121.3);
Tailwind
colors: {
  custom: {
    50: '#b9ca76',
    500: '#98b438',
    950: '#000000',
  },
}
SCSS
$custom: #98b438;
$custom-light: #b9ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#98b438",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 73.548,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.15075,
    "h": 121.3
  },
  "luminance": 0.39603
}

Semantic roles & 50–950 ramp

primary
#98B438
secondary
#9282C5
accent
#4CDC6C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B438

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

Preview Lab → · Contrast checker → · Palette generator →

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