#98AC2D#98AC2D

#98AC2D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.148 H 118.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#98AC2D
RGBrgb(152, 172, 45)
HSLhsl(69, 59%, 43%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.6%, 0%, 73.8%, 32.5%)
CIE-LABlab(66.80, -23.52, 58.93)
CIE-LCHlch(66.80, 63.45, 111.75°)
OKLaboklab(70.58% -0.0703 0.1306)
OKLCHoklch(70.58% 0.148 118.3)
XYZxyz(28.1757, 36.3702, 8.0180)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC2D #412DAC
analogous
#AC812D #98AC2D #58AC2D
triadic
#98AC2D #2D98AC #AC2D98
tetradic
#98AC2D #2DAC81 #412DAC #AC2D58
square
#98AC2D #2DAC81 #412DAC #AC2D58
split-complementary
#98AC2D #2D58AC #812DAC
monochromatic
#424B14 #6D7B20 #98AC2D #BACF47 #CCDC78

Accessibility & contrast

On white

2.54
#98AC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#98AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC2D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC2D#FFFFFF#000000##000000
##98AC2D1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ac2d;
/* rgb */ color: rgb(152, 172, 45);
/* oklch */ color: oklch(70.6% 0.148 118.3);
Tailwind
colors: {
  custom: {
    50: '#bac46f',
    500: '#98ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #98ac2d;
$custom-light: #bac46f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac2d",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 69.449,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70577,
    "c": 0.14827,
    "h": 118.3
  },
  "luminance": 0.3637
}

Semantic roles & 50–950 ramp

primary
#98AC2D
secondary
#7E71C4
accent
#46E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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