#98AA31#98AA31

#98AA31 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.143 H 117.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#98AA31
RGBrgb(152, 170, 49)
HSLhsl(69, 55%, 43%)
HSVhsv(69, 71%, 67%)
CMYKcmyk(10.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(66.25, -22.31, 56.95)
CIE-LCHlch(66.25, 61.16, 111.39°)
OKLaboklab(70.14% -0.0666 0.1271)
OKLCHoklch(70.14% 0.143 117.6)
XYZxyz(27.8786, 35.6469, 8.3170)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA31 #4331AA
analogous
#AA8031 #98AA31 #5BAA31
triadic
#98AA31 #3198AA #AA3198
tetradic
#98AA31 #31AA80 #4331AA #AA315B
square
#98AA31 #31AA80 #4331AA #AA315B
split-complementary
#98AA31 #315BAA #8031AA
monochromatic
#434B16 #6E7A23 #98AA31 #B9CC4D #CBD97C

Accessibility & contrast

On white

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

On black

8.13
#98AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA31
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA31#FFFFFF#000000##000000
##98AA311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11C
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa31;
/* rgb */ color: rgb(152, 170, 49);
/* oklch */ color: oklch(70.1% 0.143 117.6);
Tailwind
colors: {
  custom: {
    50: '#b9c371',
    500: '#98aa31',
    950: '#000000',
  },
}
SCSS
$custom: #98aa31;
$custom-light: #b9c371;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa31",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 68.926,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.14345,
    "h": 117.6
  },
  "luminance": 0.35647
}

Semantic roles & 50–950 ramp

primary
#98AA31
secondary
#8075C2
accent
#49DF5F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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