#98B134#98B134

#98B134 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.8% C 0.150 H 120.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#98B134
RGBrgb(152, 177, 52)
HSLhsl(72, 55%, 45%)
HSVhsv(72, 71%, 69%)
CMYKcmyk(14.1%, 0%, 70.6%, 30.6%)
CIE-LABlab(68.29, -25.59, 57.85)
CIE-LCHlch(68.29, 63.26, 113.86°)
OKLaboklab(71.79% -0.0754 0.1295)
OKLCHoklch(71.79% 0.15 120.2)
XYZxyz(29.2914, 38.3677, 9.1108)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B134 #4D34B1
analogous
#B18C34 #98B134 #5AB134
triadic
#98B134 #3498B1 #B13498
tetradic
#98B134 #34B18C #4D34B1 #B1345A
square
#98B134 #34B18C #4D34B1 #B1345A
split-complementary
#98B134 #345AB1 #8C34B1
monochromatic
#475218 #6F8226 #98B134 #B5CD55 #CADB84

Accessibility & contrast

On white

2.42
#98B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#98B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B134
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B134#FFFFFF#000000##000000
##98B1341.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71F
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#A1A898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b134;
/* rgb */ color: rgb(152, 177, 52);
/* oklch */ color: oklch(71.8% 0.150 120.2);
Tailwind
colors: {
  custom: {
    50: '#b9c873',
    500: '#98b134',
    950: '#000000',
  },
}
SCSS
$custom: #98b134;
$custom-light: #b9c873;
$custom-dark: #000000;
JSON
{
  "hex": "#98b134",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 72,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.1498,
    "h": 120.2
  },
  "luminance": 0.38368
}

Semantic roles & 50–950 ramp

primary
#98B134
secondary
#8B7CC5
accent
#4ADE67
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B134

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

Preview Lab → · Contrast checker → · Palette generator →

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