#98AE2C#98AE2C

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

Color values

HEX#98AE2C
RGBrgb(152, 174, 44)
HSLhsl(70, 60%, 43%)
HSVhsv(70, 75%, 68%)
CMYKcmyk(12.6%, 0%, 74.7%, 31.8%)
CIE-LABlab(67.37, -24.55, 59.82)
CIE-LCHlch(67.37, 64.67, 112.31°)
OKLaboklab(71.04% -0.0732 0.1323)
OKLCHoklch(71.04% 0.151 119)
XYZxyz(28.5402, 37.1296, 8.0456)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE2C #422CAE
analogous
#AE832C #98AE2C #57AE2C
triadic
#98AE2C #2C98AE #AE2C98
tetradic
#98AE2C #2CAE83 #422CAE #AE2C57
square
#98AE2C #2CAE83 #422CAE #AE2C57
split-complementary
#98AE2C #2C57AE #832CAE
monochromatic
#434C13 #6D7D20 #98AE2C #B9D047 #CCDD78

Accessibility & contrast

On white

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

On black

8.43
#98AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE2C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE2C#FFFFFF#000000##000000
##98AE2C1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ae2c;
/* rgb */ color: rgb(152, 174, 44);
/* oklch */ color: oklch(71.0% 0.151 119.0);
Tailwind
colors: {
  custom: {
    50: '#bac66f',
    500: '#98ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #98ae2c;
$custom-light: #bac66f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae2c",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 70.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71035,
    "c": 0.15118,
    "h": 119
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#98AE2C
secondary
#7F71C5
accent
#45E360
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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