#98AF2C#98AF2C

#98AF2C is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.152 H 119.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#98AF2C
RGBrgb(152, 175, 44)
HSLhsl(71, 60%, 43%)
HSVhsv(71, 75%, 69%)
CMYKcmyk(13.1%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.66, -25.04, 60.10)
CIE-LCHlch(67.66, 65.11, 112.62°)
OKLaboklab(71.27% -0.0745 0.1329)
OKLCHoklch(71.27% 0.152 119.3)
XYZxyz(28.7341, 37.5174, 8.1102)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF2C #432CAF
analogous
#AF842C #98AF2C #57AF2C
triadic
#98AF2C #2C98AF #AF2C98
tetradic
#98AF2C #2CAF84 #432CAF #AF2C57
square
#98AF2C #2CAF84 #432CAF #AF2C57
split-complementary
#98AF2C #2C57AF #842CAF
monochromatic
#434D13 #6E7E20 #98AF2C #B9D147 #CBDD78

Accessibility & contrast

On white

2.47
#98AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#98AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF2C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF2C#FFFFFF#000000##000000
##98AF2C1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50F
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af2c;
/* rgb */ color: rgb(152, 175, 44);
/* oklch */ color: oklch(71.3% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#bac66f',
    500: '#98af2c',
    950: '#000000',
  },
}
SCSS
$custom: #98af2c;
$custom-light: #bac66f;
$custom-dark: #000000;
JSON
{
  "hex": "#98af2c",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 70.534,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71268,
    "c": 0.15234,
    "h": 119.3
  },
  "luminance": 0.37517
}

Semantic roles & 50–950 ramp

primary
#98AF2C
secondary
#8072C5
accent
#45E361
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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