#98B234#98B234

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

Color values

HEX#98B234
RGBrgb(152, 178, 52)
HSLhsl(72, 55%, 45%)
HSVhsv(72, 71%, 70%)
CMYKcmyk(14.6%, 0%, 70.8%, 30.2%)
CIE-LABlab(68.58, -26.08, 58.14)
CIE-LCHlch(68.58, 63.72, 114.16°)
OKLaboklab(72.02% -0.0767 0.1301)
OKLCHoklch(72.02% 0.151 120.5)
XYZxyz(29.4896, 38.7642, 9.1768)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B234 #4E34B2
analogous
#B28D34 #98B234 #59B234
triadic
#98B234 #3498B2 #B23498
tetradic
#98B234 #34B28D #4E34B2 #B23459
square
#98B234 #34B28D #4E34B2 #B23459
split-complementary
#98B234 #3459B2 #8D34B2
monochromatic
#475318 #708326 #98B234 #B5CE56 #CADB85

Accessibility & contrast

On white

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

On black

8.75
#98B234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B234
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B234#FFFFFF#000000##000000
##98B2341.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b234;
/* rgb */ color: rgb(152, 178, 52);
/* oklch */ color: oklch(72.0% 0.151 120.5);
Tailwind
colors: {
  custom: {
    50: '#b9c974',
    500: '#98b234',
    950: '#000000',
  },
}
SCSS
$custom: #98b234;
$custom-light: #b9c974;
$custom-dark: #000000;
JSON
{
  "hex": "#98b234",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 72.381,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72022,
    "c": 0.151,
    "h": 120.5
  },
  "luminance": 0.38764
}

Semantic roles & 50–950 ramp

primary
#98B234
secondary
#8C7DC5
accent
#4ADE68
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B234

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

Preview Lab → · Contrast checker → · Palette generator →

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