#98A920#98A920

#98A920 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.152 H 117.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98A920
RGBrgb(152, 169, 32)
HSLhsl(67, 68%, 39%)
HSVhsv(67, 81%, 66%)
CMYKcmyk(10.1%, 0%, 81.1%, 33.7%)
CIE-LABlab(65.87, -22.60, 62.16)
CIE-LCHlch(65.87, 66.14, 109.98°)
OKLaboklab(69.81% -0.0687 0.1352)
OKLCHoklch(69.81% 0.152 117)
XYZxyz(27.3983, 35.1560, 6.7087)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A920 #3120A9
analogous
#A97620 #98A920 #54A920
triadic
#98A920 #2098A9 #A92098
tetradic
#98A920 #20A976 #3120A9 #A92054
square
#98A920 #20A976 #3120A9 #A92054
split-complementary
#98A920 #2054A9 #7620A9
monochromatic
#3B420D #6A7616 #98A920 #C3D82F #D2E162

Accessibility & contrast

On white

2.61
#98A920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#98A920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A920
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A920#FFFFFF#000000##000000
##98A9201.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a920;
/* rgb */ color: rgb(152, 169, 32);
/* oklch */ color: oklch(69.8% 0.152 117.0);
Tailwind
colors: {
  custom: {
    50: '#bac269',
    500: '#98a920',
    950: '#000000',
  },
}
SCSS
$custom: #98a920;
$custom-light: #bac269;
$custom-dark: #000000;
JSON
{
  "hex": "#98a920",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 67.445,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69806,
    "c": 0.15163,
    "h": 117
  },
  "luminance": 0.35156
}

Semantic roles & 50–950 ramp

primary
#98A920
secondary
#6B5FC6
accent
#3DEB52
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A920

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

Preview Lab → · Contrast checker → · Palette generator →

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