#98A620#98A620

#98A620 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.148 H 115.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A620
RGBrgb(152, 166, 32)
HSLhsl(66, 68%, 39%)
HSVhsv(66, 81%, 65%)
CMYKcmyk(8.4%, 0%, 80.7%, 34.9%)
CIE-LABlab(65.00, -21.10, 61.40)
CIE-LCHlch(65.00, 64.92, 108.96°)
OKLaboklab(69.11% -0.0646 0.1335)
OKLCHoklch(69.11% 0.148 115.8)
XYZxyz(26.8466, 34.0526, 6.5248)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A620 #2E20A6
analogous
#A67120 #98A620 #55A620
triadic
#98A620 #2098A6 #A62098
tetradic
#98A620 #20A671 #2E20A6 #A62055
square
#98A620 #20A671 #2E20A6 #A62055
split-complementary
#98A620 #2055A6 #7120A6
monochromatic
#3A3F0C #697316 #98A620 #C5D62D #D3E060

Accessibility & contrast

On white

2.69
#98A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#98A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A620
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A620#FFFFFF#000000##000000
##98A6201.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2D
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a620;
/* rgb */ color: rgb(152, 166, 32);
/* oklch */ color: oklch(69.1% 0.148 115.8);
Tailwind
colors: {
  custom: {
    50: '#bac069',
    500: '#98a620',
    950: '#000000',
  },
}
SCSS
$custom: #98a620;
$custom-light: #bac069;
$custom-dark: #000000;
JSON
{
  "hex": "#98a620",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 66.269,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.14834,
    "h": 115.8
  },
  "luminance": 0.34052
}

Semantic roles & 50–950 ramp

primary
#98A620
secondary
#685DC5
accent
#3DEB4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A620

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

Preview Lab → · Contrast checker → · Palette generator →

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