#98A022#98A022

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

Color values

HEX#98A022
RGBrgb(152, 160, 34)
HSLhsl(64, 65%, 38%)
HSVhsv(64, 79%, 63%)
CMYKcmyk(5%, 0%, 78.8%, 37.3%)
CIE-LABlab(63.29, -17.98, 59.28)
CIE-LCHlch(63.29, 61.94, 106.87°)
OKLaboklab(67.74% -0.0559 0.1294)
OKLCHoklch(67.74% 0.141 113.4)
XYZxyz(25.8093, 31.9331, 6.3172)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A022 #2A22A0
analogous
#A06922 #98A022 #59A022
triadic
#98A022 #2298A0 #A02298
tetradic
#98A022 #22A069 #2A22A0 #A02259
square
#98A022 #22A069 #2A22A0 #A02259
split-complementary
#98A022 #2259A0 #6922A0
monochromatic
#383B0D #686E17 #98A022 #C8D22D #D5DD5F

Accessibility & contrast

On white

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

On black

7.39
#98A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A022
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A022#FFFFFF#000000##000000
##98A0221.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a022;
/* rgb */ color: rgb(152, 160, 34);
/* oklch */ color: oklch(67.7% 0.141 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb69',
    500: '#98a022',
    950: '#000000',
  },
}
SCSS
$custom: #98a022;
$custom-light: #babb69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a022",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 63.81,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.1409,
    "h": 113.4
  },
  "luminance": 0.31933
}

Semantic roles & 50–950 ramp

primary
#98A022
secondary
#625CC2
accent
#40E84B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A022

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

Preview Lab → · Contrast checker → · Palette generator →

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