#98BD2B#98BD2B

#98BD2B is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.5% C 0.169 H 123.4°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#98BD2B
RGBrgb(152, 189, 43)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 77%, 74%)
CMYKcmyk(19.6%, 0%, 77.2%, 25.9%)
CIE-LABlab(71.72, -31.79, 64.22)
CIE-LCHlch(71.72, 71.66, 116.33°)
OKLaboklab(74.54% -0.0931 0.1414)
OKLCHoklch(74.54% 0.169 123.4)
XYZxyz(31.5829, 43.2448, 8.9682)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BD2B #502BBD
analogous
#BD992B #98BD2B #4FBD2B
triadic
#98BD2B #2B98BD #BD2B98
tetradic
#98BD2B #2BBD99 #502BBD #BD2B4F
square
#98BD2B #2BBD99 #502BBD #BD2B4F
split-complementary
#98BD2B #2B4FBD #992BBD
monochromatic
#485914 #708B20 #98BD2B #B4D74E #C9E280

Accessibility & contrast

On white

2.18
#98BD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#98BD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BD2B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BD2B#FFFFFF#000000##000000
##98BD2B1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A0B3A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #98bd2b;
/* rgb */ color: rgb(152, 189, 43);
/* oklch */ color: oklch(74.5% 0.169 123.4);
Tailwind
colors: {
  custom: {
    50: '#bad170',
    500: '#98bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #98bd2b;
$custom-light: #bad170;
$custom-dark: #000000;
JSON
{
  "hex": "#98bd2b",
  "rgb": {
    "r": 152,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 75.205,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74541,
    "c": 0.16931,
    "h": 123.4
  },
  "luminance": 0.43245
}

Semantic roles & 50–950 ramp

primary
#98BD2B
secondary
#8E79CB
accent
#42E66B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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