#98BC2D#98BC2D

#98BC2D is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.167 H 123.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#98BC2D
RGBrgb(152, 188, 45)
HSLhsl(75, 61%, 46%)
HSVhsv(75, 76%, 74%)
CMYKcmyk(19.1%, 0%, 76.1%, 26.3%)
CIE-LABlab(71.44, -31.23, 63.33)
CIE-LCHlch(71.44, 70.61, 116.25°)
OKLaboklab(74.32% -0.0914 0.1398)
OKLCHoklch(74.32% 0.167 123.2)
XYZxyz(31.4062, 42.8311, 9.0948)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC2D #512DBC
analogous
#BC982D #98BC2D #50BC2D
triadic
#98BC2D #2D98BC #BC2D98
tetradic
#98BC2D #2DBC98 #512DBC #BC2D50
square
#98BC2D #2DBC98 #512DBC #BC2D50
split-complementary
#98BC2D #2D50BC #982DBC
monochromatic
#485915 #708B21 #98BC2D #B4D551 #C9E182

Accessibility & contrast

On white

2.20
#98BC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#98BC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC2D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC2D#FFFFFF#000000##000000
##98BC2D1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B007
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc2d;
/* rgb */ color: rgb(152, 188, 45);
/* oklch */ color: oklch(74.3% 0.167 123.2);
Tailwind
colors: {
  custom: {
    50: '#bad071',
    500: '#98bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #98bc2d;
$custom-light: #bad071;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc2d",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 75.105,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.16709,
    "h": 123.2
  },
  "luminance": 0.42831
}

Semantic roles & 50–950 ramp

primary
#98BC2D
secondary
#8F7BCA
accent
#43E46C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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