#98AF27#98AF27

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

Color values

HEX#98AF27
RGBrgb(152, 175, 39)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(13.1%, 0%, 77.7%, 31.4%)
CIE-LABlab(67.64, -25.27, 61.69)
CIE-LCHlch(67.64, 66.67, 112.28°)
OKLaboklab(71.24% -0.0756 0.1354)
OKLCHoklch(71.24% 0.155 119.2)
XYZxyz(28.6457, 37.4820, 7.6447)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF27 #3E27AF
analogous
#AF8227 #98AF27 #54AF27
triadic
#98AF27 #2798AF #AF2798
tetradic
#98AF27 #27AF82 #3E27AF #AF2754
square
#98AF27 #27AF82 #3E27AF #AF2754
split-complementary
#98AF27 #2754AF #8227AF
monochromatic
#414B11 #6D7D1C #98AF27 #BBD43F #CDDF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF27#FFFFFF#000000##000000
##98AF271.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)
#BBA500
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af27;
/* rgb */ color: rgb(152, 175, 39);
/* oklch */ color: oklch(71.2% 0.155 119.2);
Tailwind
colors: {
  custom: {
    50: '#bac66d',
    500: '#98af27',
    950: '#000000',
  },
}
SCSS
$custom: #98af27;
$custom-light: #bac66d;
$custom-dark: #000000;
JSON
{
  "hex": "#98af27",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 70.147,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71239,
    "c": 0.15504,
    "h": 119.2
  },
  "luminance": 0.37482
}

Semantic roles & 50–950 ramp

primary
#98AF27
secondary
#7B6BC6
accent
#41E75D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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