#98AA38#98AA38

#98AA38 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.2% C 0.139 H 117.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#98AA38
RGBrgb(152, 170, 56)
HSLhsl(69, 50%, 44%)
HSVhsv(69, 67%, 67%)
CMYKcmyk(10.6%, 0%, 67.1%, 33.3%)
CIE-LABlab(66.30, -21.89, 54.27)
CIE-LCHlch(66.30, 58.52, 111.97°)
OKLaboklab(70.19% -0.0647 0.1226)
OKLCHoklch(70.19% 0.139 117.8)
XYZxyz(28.0380, 35.7106, 9.1564)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA38 #4A38AA
analogous
#AA8338 #98AA38 #5FAA38
triadic
#98AA38 #3898AA #AA3898
tetradic
#98AA38 #38AA83 #4A38AA #AA385F
square
#98AA38 #38AA83 #4A38AA #AA385F
split-complementary
#98AA38 #385FAA #8338AA
monochromatic
#464E1A #6F7C29 #98AA38 #B6C857 #CAD785

Accessibility & contrast

On white

2.58
#98AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#98AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA38
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA38#FFFFFF#000000##000000
##98AA381.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#B3A240
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa38;
/* rgb */ color: rgb(152, 170, 56);
/* oklch */ color: oklch(70.2% 0.139 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c375',
    500: '#98aa38',
    950: '#000000',
  },
}
SCSS
$custom: #98aa38;
$custom-light: #b9c375;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa38",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 69.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.13859,
    "h": 117.8
  },
  "luminance": 0.3571
}

Semantic roles & 50–950 ramp

primary
#98AA38
secondary
#887DC1
accent
#4EDA64
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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