#98AC2A#98AC2A

#98AC2A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.150 H 118.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#98AC2A
RGBrgb(152, 172, 42)
HSLhsl(69, 61%, 42%)
HSVhsv(69, 76%, 67%)
CMYKcmyk(11.6%, 0%, 75.6%, 32.5%)
CIE-LABlab(66.78, -23.66, 59.94)
CIE-LCHlch(66.78, 64.44, 111.54°)
OKLaboklab(70.56% -0.0709 0.1322)
OKLCHoklch(70.56% 0.15 118.2)
XYZxyz(28.1200, 36.3479, 7.7245)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC2A #3E2AAC
analogous
#AC7F2A #98AC2A #57AC2A
triadic
#98AC2A #2A98AC #AC2A98
tetradic
#98AC2A #2AAC7F #3E2AAC #AC2A57
square
#98AC2A #2AAC7F #3E2AAC #AC2A57
split-complementary
#98AC2A #2A57AC #7F2AAC
monochromatic
#414A12 #6D7B1E #98AC2A #BBD142 #CDDD73

Accessibility & contrast

On white

2.54
#98AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#98AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC2A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC2A#FFFFFF#000000##000000
##98AC2A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20B
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac2a;
/* rgb */ color: rgb(152, 172, 42);
/* oklch */ color: oklch(70.6% 0.150 118.2);
Tailwind
colors: {
  custom: {
    50: '#bac46e',
    500: '#98ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #98ac2a;
$custom-light: #bac46e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac2a",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 69.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.15,
    "h": 118.2
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#98AC2A
secondary
#7B6DC4
accent
#44E45D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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