#98AB2D#98AB2D

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

Color values

HEX#98AB2D
RGBrgb(152, 171, 45)
HSLhsl(69, 58%, 42%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.1%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.51, -23.02, 58.65)
CIE-LCHlch(66.51, 63.01, 111.43°)
OKLaboklab(70.34% -0.0689 0.13)
OKLCHoklch(70.34% 0.147 117.9)
XYZxyz(27.9861, 35.9910, 7.9548)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2D #402DAB
analogous
#AB7F2D #98AB2D #59AB2D
triadic
#98AB2D #2D98AB #AB2D98
tetradic
#98AB2D #2DAB7F #402DAB #AB2D59
square
#98AB2D #2DAB7F #402DAB #AB2D59
split-complementary
#98AB2D #2D59AB #7F2DAB
monochromatic
#424A14 #6D7B20 #98AB2D #BACE47 #CCDB77

Accessibility & contrast

On white

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

On black

8.20
#98AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB2D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB2D#FFFFFF#000000##000000
##98AB2D1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ab2d;
/* rgb */ color: rgb(152, 171, 45);
/* oklch */ color: oklch(70.3% 0.147 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac46f',
    500: '#98ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2d;
$custom-light: #bac46f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2d",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 69.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.14712,
    "h": 117.9
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#98AB2D
secondary
#7D71C3
accent
#46E25E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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