#98B83C#98B83C

#98B83C is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.5% C 0.153 H 122.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#98B83C
RGBrgb(152, 184, 60)
HSLhsl(75, 51%, 48%)
HSVhsv(75, 67%, 72%)
CMYKcmyk(17.4%, 0%, 67.4%, 27.8%)
CIE-LABlab(70.37, -28.48, 56.87)
CIE-LCHlch(70.37, 63.60, 116.60°)
OKLaboklab(73.49% -0.0826 0.1286)
OKLCHoklch(73.49% 0.153 122.7)
XYZxyz(30.9053, 41.2825, 10.6142)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B83C #5C3CB8
analogous
#B89A3C #98B83C #5AB83C
triadic
#98B83C #3C98B8 #B83C98
tetradic
#98B83C #3CB89A #5C3CB8 #B83C5A
square
#98B83C #3CB89A #5C3CB8 #B83C5A
split-complementary
#98B83C #3C5AB8 #9A3CB8
monochromatic
#4C5C1E #728A2D #98B83C #B2CD65 #C9DC93

Accessibility & contrast

On white

2.27
#98B83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#98B83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B83C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B83C#FFFFFF#000000##000000
##98B83C1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2A
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#A0AF9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b83c;
/* rgb */ color: rgb(152, 184, 60);
/* oklch */ color: oklch(73.5% 0.153 122.7);
Tailwind
colors: {
  custom: {
    50: '#b9cd78',
    500: '#98b83c',
    950: '#000000',
  },
}
SCSS
$custom: #98b83c;
$custom-light: #b9cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#98b83c",
  "rgb": {
    "r": 152,
    "g": 184,
    "b": 60
  },
  "hsl": {
    "h": 75.484,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73486,
    "c": 0.15287,
    "h": 122.7
  },
  "luminance": 0.41283
}

Semantic roles & 50–950 ramp

primary
#98B83C
secondary
#9989C7
accent
#4DDA72
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B83C

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

Preview Lab → · Contrast checker → · Palette generator →

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