#98A420#98A420

#98A420 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.146 H 115.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#98A420
RGBrgb(152, 164, 32)
HSLhsl(65, 67%, 38%)
HSVhsv(65, 80%, 64%)
CMYKcmyk(7.3%, 0%, 80.5%, 35.7%)
CIE-LABlab(64.43, -20.09, 60.89)
CIE-LCHlch(64.43, 64.12, 108.26°)
OKLaboklab(68.65% -0.0618 0.1324)
OKLCHoklch(68.65% 0.146 115)
XYZxyz(26.4859, 33.3311, 6.4045)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A420 #2C20A4
analogous
#A46E20 #98A420 #56A420
triadic
#98A420 #2098A4 #A42098
tetradic
#98A420 #20A46E #2C20A4 #A42056
square
#98A420 #20A46E #2C20A4 #A42056
split-complementary
#98A420 #2056A4 #6E20A4
monochromatic
#393E0C #697116 #98A420 #C6D62B #D4E05F

Accessibility & contrast

On white

2.74
#98A420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#98A420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A420
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A420#FFFFFF#000000##000000
##98A4201.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D2D
Tritanopia (blue-blind)
#A29A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a420;
/* rgb */ color: rgb(152, 164, 32);
/* oklch */ color: oklch(68.6% 0.146 115.0);
Tailwind
colors: {
  custom: {
    50: '#babe68',
    500: '#98a420',
    950: '#000000',
  },
}
SCSS
$custom: #98a420;
$custom-light: #babe68;
$custom-dark: #000000;
JSON
{
  "hex": "#98a420",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 65.455,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.14616,
    "h": 115
  },
  "luminance": 0.33331
}

Semantic roles & 50–950 ramp

primary
#98A420
secondary
#655CC4
accent
#3EEA4D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A420

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

Preview Lab → · Contrast checker → · Palette generator →

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