#98AE20#98AE20

#98AE20 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.0% C 0.157 H 118.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#98AE20
RGBrgb(152, 174, 32)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 82%, 68%)
CMYKcmyk(12.6%, 0%, 81.6%, 31.8%)
CIE-LABlab(67.32, -25.06, 63.43)
CIE-LCHlch(67.32, 68.21, 111.56°)
OKLaboklab(70.97% -0.0755 0.1379)
OKLCHoklch(70.97% 0.157 118.7)
XYZxyz(28.3463, 37.0520, 7.0247)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE20 #3620AE
analogous
#AE7D20 #98AE20 #51AE20
triadic
#98AE20 #2098AE #AE2098
tetradic
#98AE20 #20AE7D #3620AE #AE2051
square
#98AE20 #20AE7D #3620AE #AE2051
split-complementary
#98AE20 #2051AE #7D20AE
monochromatic
#3E470D #6B7A16 #98AE20 #BFD932 #CFE366

Accessibility & contrast

On white

2.50
#98AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#98AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE20
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE20#FFFFFF#000000##000000
##98AE201.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#A2A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae20;
/* rgb */ color: rgb(152, 174, 32);
/* oklch */ color: oklch(71.0% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac66a',
    500: '#98ae20',
    950: '#000000',
  },
}
SCSS
$custom: #98ae20;
$custom-light: #bac66a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae20",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 69.296,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.7097,
    "c": 0.1572,
    "h": 118.7
  },
  "luminance": 0.37052
}

Semantic roles & 50–950 ramp

primary
#98AE20
secondary
#7262C8
accent
#3CEC57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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