#98A22E#98A22E

#98A22E 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#98A22E
RGBrgb(152, 162, 46)
HSLhsl(65, 56%, 41%)
HSVhsv(65, 72%, 64%)
CMYKcmyk(6.2%, 0%, 71.6%, 36.5%)
CIE-LABlab(63.93, -18.44, 55.79)
CIE-LCHlch(63.93, 58.76, 108.29°)
OKLaboklab(68.27% -0.0561 0.1241)
OKLCHoklch(68.27% 0.136 114.3)
XYZxyz(26.3631, 32.7138, 7.5099)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A22E #382EA2
analogous
#A2722E #98A22E #5EA22E
triadic
#98A22E #2E98A2 #A22E98
tetradic
#98A22E #2EA272 #382EA2 #A22E5E
square
#98A22E #2EA272 #382EA2 #A22E5E
split-complementary
#98A22E #2E5EA2 #722EA2
monochromatic
#3F4313 #6B7220 #98A22E #BECA43 #CFD773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A22E#FFFFFF#000000##000000
##98A22E1.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)
#AE9A1A
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a22e;
/* rgb */ color: rgb(152, 162, 46);
/* oklch */ color: oklch(68.3% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bd6f',
    500: '#98a22e',
    950: '#000000',
  },
}
SCSS
$custom: #98a22e;
$custom-light: #b9bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a22e",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 65.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.13621,
    "h": 114.3
  },
  "luminance": 0.32713
}

Semantic roles & 50–950 ramp

primary
#98A22E
secondary
#746DBF
accent
#49DF56
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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