#98AE2B#98AE2B

#98AE2B is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 71.0% C 0.152 H 118.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#98AE2B
RGBrgb(152, 174, 43)
HSLhsl(70, 60%, 43%)
HSVhsv(70, 75%, 68%)
CMYKcmyk(12.6%, 0%, 75.3%, 31.8%)
CIE-LABlab(67.37, -24.60, 60.15)
CIE-LCHlch(67.37, 64.99, 112.24°)
OKLaboklab(71.03% -0.0734 0.1328)
OKLCHoklch(71.03% 0.152 118.9)
XYZxyz(28.5216, 37.1221, 7.9478)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE2B #412BAE
analogous
#AE822B #98AE2B #57AE2B
triadic
#98AE2B #2B98AE #AE2B98
tetradic
#98AE2B #2BAE82 #412BAE #AE2B57
square
#98AE2B #2BAE82 #412BAE #AE2B57
split-complementary
#98AE2B #2B57AE #822BAE
monochromatic
#424C13 #6D7D1F #98AE2B #BAD145 #CCDD76

Accessibility & contrast

On white

2.49
#98AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#98AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE2B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE2B#FFFFFF#000000##000000
##98AE2B1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40C
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae2b;
/* rgb */ color: rgb(152, 174, 43);
/* oklch */ color: oklch(71.0% 0.152 118.9);
Tailwind
colors: {
  custom: {
    50: '#bac66f',
    500: '#98ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #98ae2b;
$custom-light: #bac66f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae2b",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 70.076,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.15174,
    "h": 118.9
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#98AE2B
secondary
#7E70C5
accent
#44E45F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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