#98A11A#98A11A

#98A11A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.146 H 113.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#98A11A
RGBrgb(152, 161, 26)
HSLhsl(64, 72%, 37%)
HSVhsv(64, 84%, 63%)
CMYKcmyk(5.6%, 0%, 83.9%, 36.9%)
CIE-LABlab(63.54, -18.77, 61.73)
CIE-LCHlch(63.54, 64.52, 106.91°)
OKLaboklab(67.93% -0.0586 0.1332)
OKLCHoklch(67.93% 0.146 113.8)
XYZxyz(25.8811, 32.2403, 5.8367)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A11A #231AA1
analogous
#A1671A #98A11A #55A11A
triadic
#98A11A #1A98A1 #A11A98
tetradic
#98A11A #1AA167 #231AA1 #A11A55
square
#98A11A #1AA167 #231AA1 #A11A55
split-complementary
#98A11A #1A55A1 #671AA1
monochromatic
#353809 #666C11 #98A11A #CAD623 #D9E352

Accessibility & contrast

On white

2.82
#98A11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#98A11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A11A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A11A#FFFFFF#000000##000000
##98A11A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B28
Tritanopia (blue-blind)
#A39789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a11a;
/* rgb */ color: rgb(152, 161, 26);
/* oklch */ color: oklch(67.9% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc66',
    500: '#98a11a',
    950: '#000000',
  },
}
SCSS
$custom: #98a11a;
$custom-light: #babc66;
$custom-dark: #000000;
JSON
{
  "hex": "#98a11a",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 64,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.14552,
    "h": 113.8
  },
  "luminance": 0.3224
}

Semantic roles & 50–950 ramp

primary
#98A11A
secondary
#5951C6
accent
#39EF45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #98A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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