#98A422#98A422

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

Color values

HEX#98A422
RGBrgb(152, 164, 34)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.3%, 0%, 79.3%, 35.7%)
CIE-LABlab(64.44, -20.01, 60.31)
CIE-LCHlch(64.44, 63.54, 108.36°)
OKLaboklab(68.66% -0.0615 0.1316)
OKLCHoklch(68.66% 0.145 115.1)
XYZxyz(26.5139, 33.3423, 6.5521)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A422 #2E22A4
analogous
#A46F22 #98A422 #57A422
triadic
#98A422 #2298A4 #A42298
tetradic
#98A422 #22A46F #2E22A4 #A42257
square
#98A422 #22A46F #2E22A4 #A42257
split-complementary
#98A422 #2257A4 #6F22A4
monochromatic
#3A3F0D #697117 #98A422 #C5D42F #D3DE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A422#FFFFFF#000000##000000
##98A4221.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)
#AF9D2E
Tritanopia (blue-blind)
#A29A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a422;
/* rgb */ color: rgb(152, 164, 34);
/* oklch */ color: oklch(68.7% 0.145 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe69',
    500: '#98a422',
    950: '#000000',
  },
}
SCSS
$custom: #98a422;
$custom-light: #babe69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a422",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 65.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.14521,
    "h": 115.1
  },
  "luminance": 0.33342
}

Semantic roles & 50–950 ramp

primary
#98A422
secondary
#685EC4
accent
#3FE94F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A422

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

Preview Lab → · Contrast checker → · Palette generator →

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