#98A020#98A020

#98A020 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.142 H 113.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#98A020
RGBrgb(152, 160, 32)
HSLhsl(64, 67%, 38%)
HSVhsv(64, 80%, 63%)
CMYKcmyk(5%, 0%, 80%, 37.3%)
CIE-LABlab(63.28, -18.05, 59.87)
CIE-LCHlch(63.28, 62.53, 106.78°)
OKLaboklab(67.73% -0.0562 0.1302)
OKLCHoklch(67.73% 0.142 113.4)
XYZxyz(25.7813, 31.9219, 6.1697)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A020 #2820A0
analogous
#A06820 #98A020 #58A020
triadic
#98A020 #2098A0 #A02098
tetradic
#98A020 #20A068 #2820A0 #A02058
square
#98A020 #20A068 #2820A0 #A02058
split-complementary
#98A020 #2058A0 #6820A0
monochromatic
#373A0C #686D16 #98A020 #C8D32A #D6DE5C

Accessibility & contrast

On white

2.84
#98A020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#98A020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A020
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A020#FFFFFF#000000##000000
##98A0201.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a020;
/* rgb */ color: rgb(152, 160, 32);
/* oklch */ color: oklch(67.7% 0.142 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb68',
    500: '#98a020',
    950: '#000000',
  },
}
SCSS
$custom: #98a020;
$custom-light: #babb68;
$custom-dark: #000000;
JSON
{
  "hex": "#98a020",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 63.75,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.14186,
    "h": 113.4
  },
  "luminance": 0.31921
}

Semantic roles & 50–950 ramp

primary
#98A020
secondary
#6059C3
accent
#3EEA49
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A020

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

Preview Lab → · Contrast checker → · Palette generator →

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