#98AB38#98AB38

#98AB38 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.4% C 0.140 H 118.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#98AB38
RGBrgb(152, 171, 56)
HSLhsl(70, 51%, 45%)
HSVhsv(70, 67%, 67%)
CMYKcmyk(11.1%, 0%, 67.3%, 32.9%)
CIE-LABlab(66.59, -22.39, 54.57)
CIE-LCHlch(66.59, 58.98, 112.31°)
OKLaboklab(70.43% -0.0661 0.1232)
OKLCHoklch(70.43% 0.14 118.2)
XYZxyz(28.2262, 36.0870, 9.2191)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB38 #4B38AB
analogous
#AB8538 #98AB38 #5FAB38
triadic
#98AB38 #3898AB #AB3898
tetradic
#98AB38 #38AB85 #4B38AB #AB385F
square
#98AB38 #38AB85 #4B38AB #AB385F
split-complementary
#98AB38 #385FAB #8538AB
monochromatic
#464F1A #6F7D29 #98AB38 #B6C858 #CAD786

Accessibility & contrast

On white

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

On black

8.22
#98AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB38
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB38#FFFFFF#000000##000000
##98AB381.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B4A241
Tritanopia (blue-blind)
#A1A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab38;
/* rgb */ color: rgb(152, 171, 56);
/* oklch */ color: oklch(70.4% 0.140 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c475',
    500: '#98ab38',
    950: '#000000',
  },
}
SCSS
$custom: #98ab38;
$custom-light: #b9c475;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab38",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 69.913,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.13979,
    "h": 118.2
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#98AB38
secondary
#897DC1
accent
#4EDA65
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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