#98AB37#98AB37

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

Color values

HEX#98AB37
RGBrgb(152, 171, 55)
HSLhsl(70, 51%, 44%)
HSVhsv(70, 68%, 67%)
CMYKcmyk(11.1%, 0%, 67.8%, 32.9%)
CIE-LABlab(66.58, -22.45, 54.96)
CIE-LCHlch(66.58, 59.37, 112.22°)
OKLaboklab(70.42% -0.0664 0.1239)
OKLCHoklch(70.42% 0.141 118.2)
XYZxyz(28.2020, 36.0773, 9.0916)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB37 #4A37AB
analogous
#AB8437 #98AB37 #5EAB37
triadic
#98AB37 #3798AB #AB3798
tetradic
#98AB37 #37AB84 #4A37AB #AB375E
square
#98AB37 #37AB84 #4A37AB #AB375E
split-complementary
#98AB37 #375EAB #8437AB
monochromatic
#464E19 #6F7D28 #98AB37 #B6C956 #CAD885

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AB37#FFFFFF#000000##000000
##98AB371.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)
#B6A226
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#A1A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab37;
/* rgb */ color: rgb(152, 171, 55);
/* oklch */ color: oklch(70.4% 0.141 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c474',
    500: '#98ab37',
    950: '#000000',
  },
}
SCSS
$custom: #98ab37;
$custom-light: #b9c474;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab37",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 69.828,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.14053,
    "h": 118.2
  },
  "luminance": 0.36077
}

Semantic roles & 50–950 ramp

primary
#98AB37
secondary
#887CC1
accent
#4DDB64
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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