#98A22F#98A22F

#98A22F is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.136 H 114.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#98A22F
RGBrgb(152, 162, 47)
HSLhsl(65, 55%, 41%)
HSVhsv(65, 71%, 64%)
CMYKcmyk(6.2%, 0%, 71%, 36.5%)
CIE-LABlab(63.94, -18.39, 55.42)
CIE-LCHlch(63.94, 58.39, 108.35°)
OKLaboklab(68.28% -0.0558 0.1235)
OKLCHoklch(68.28% 0.136 114.3)
XYZxyz(26.3830, 32.7218, 7.6149)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A22F #392FA2
analogous
#A2722F #98A22F #5EA22F
triadic
#98A22F #2F98A2 #A22F98
tetradic
#98A22F #2FA272 #392FA2 #A22F5E
square
#98A22F #2FA272 #392FA2 #A22F5E
split-complementary
#98A22F #2F5EA2 #722FA2
monochromatic
#3F4313 #6B7321 #98A22F #BEC945 #CED775

Accessibility & contrast

On white

2.78
#98A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#98A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A22F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A22F#FFFFFF#000000##000000
##98A22F1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a22f;
/* rgb */ color: rgb(152, 162, 47);
/* oklch */ color: oklch(68.3% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bd6f',
    500: '#98a22f',
    950: '#000000',
  },
}
SCSS
$custom: #98a22f;
$custom-light: #b9bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a22f",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 65.217,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.13555,
    "h": 114.3
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

primary
#98A22F
secondary
#756EBF
accent
#49DE56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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