#98AB2A#98AB2A

#98AB2A is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.3% C 0.149 H 117.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#98AB2A
RGBrgb(152, 171, 42)
HSLhsl(69, 61%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.1%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.50, -23.17, 59.67)
CIE-LCHlch(66.50, 64.01, 111.22°)
OKLaboklab(70.33% -0.0695 0.1316)
OKLCHoklch(70.33% 0.149 117.9)
XYZxyz(27.9304, 35.9687, 7.6613)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2A #3D2AAB
analogous
#AB7E2A #98AB2A #58AB2A
triadic
#98AB2A #2A98AB #AB2A98
tetradic
#98AB2A #2AAB7E #3D2AAB #AB2A58
square
#98AB2A #2AAB7E #3D2AAB #AB2A58
split-complementary
#98AB2A #2A58AB #7E2AAB
monochromatic
#414912 #6C7A1E #98AB2A #BBD142 #CDDD73

Accessibility & contrast

On white

2.56
#98AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#98AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB2A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB2A#FFFFFF#000000##000000
##98AB2A1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10C
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab2a;
/* rgb */ color: rgb(152, 171, 42);
/* oklch */ color: oklch(70.3% 0.149 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac46e',
    500: '#98ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2a;
$custom-light: #bac46e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2a",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 68.837,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.14885,
    "h": 117.9
  },
  "luminance": 0.35968
}

Semantic roles & 50–950 ramp

primary
#98AB2A
secondary
#7A6DC4
accent
#44E45C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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