#98BA2D#98BA2D

#98BA2D is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.8% C 0.165 H 122.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#98BA2D
RGBrgb(152, 186, 45)
HSLhsl(74, 61%, 45%)
HSVhsv(74, 76%, 73%)
CMYKcmyk(18.3%, 0%, 75.8%, 27.1%)
CIE-LABlab(70.86, -30.28, 62.79)
CIE-LCHlch(70.86, 69.71, 115.75°)
OKLaboklab(73.85% -0.0889 0.1387)
OKLCHoklch(73.85% 0.165 122.7)
XYZxyz(30.9819, 41.9825, 8.9534)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA2D #4F2DBA
analogous
#BA952D #98BA2D #51BA2D
triadic
#98BA2D #2D98BA #BA2D98
tetradic
#98BA2D #2DBA95 #4F2DBA #BA2D51
square
#98BA2D #2DBA95 #4F2DBA #BA2D51
split-complementary
#98BA2D #2D51BA #952DBA
monochromatic
#475715 #708921 #98BA2D #B5D550 #C9E081

Accessibility & contrast

On white

2.23
#98BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#98BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA2D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA2D#FFFFFF#000000##000000
##98BA2D1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE09
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#A0B09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba2d;
/* rgb */ color: rgb(152, 186, 45);
/* oklch */ color: oklch(73.8% 0.165 122.7);
Tailwind
colors: {
  custom: {
    50: '#bace71',
    500: '#98ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #98ba2d;
$custom-light: #bace71;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba2d",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 74.468,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.16472,
    "h": 122.7
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#98BA2D
secondary
#8D79C9
accent
#44E46A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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