#98B236#98B236

#98B236 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.150 H 120.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#98B236
RGBrgb(152, 178, 54)
HSLhsl(73, 53%, 45%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(14.6%, 0%, 69.7%, 30.2%)
CIE-LABlab(68.59, -25.96, 57.40)
CIE-LCHlch(68.59, 63.00, 114.34°)
OKLaboklab(72.04% -0.0762 0.1288)
OKLCHoklch(72.04% 0.15 120.6)
XYZxyz(29.5356, 38.7826, 9.4191)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B236 #5036B2
analogous
#B28E36 #98B236 #5AB236
triadic
#98B236 #3698B2 #B23698
tetradic
#98B236 #36B28E #5036B2 #B2365A
square
#98B236 #36B28E #5036B2 #B2365A
split-complementary
#98B236 #365AB2 #8E36B2
monochromatic
#48541A #708328 #98B236 #B4CD59 #C9DB88

Accessibility & contrast

On white

2.40
#98B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#98B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B236
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B236#FFFFFF#000000##000000
##98B2361.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA822
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b236;
/* rgb */ color: rgb(152, 178, 54);
/* oklch */ color: oklch(72.0% 0.150 120.6);
Tailwind
colors: {
  custom: {
    50: '#b9c975',
    500: '#98b236',
    950: '#000000',
  },
}
SCSS
$custom: #98b236;
$custom-light: #b9c975;
$custom-dark: #000000;
JSON
{
  "hex": "#98b236",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 72.581,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72037,
    "c": 0.14967,
    "h": 120.6
  },
  "luminance": 0.38783
}

Semantic roles & 50–950 ramp

primary
#98B236
secondary
#8E7FC5
accent
#4BDD6A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B236

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

Preview Lab → · Contrast checker → · Palette generator →

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