#98B62C#98B62C

#98B62C is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.161 H 121.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#98B62C
RGBrgb(152, 182, 44)
HSLhsl(73, 61%, 44%)
HSVhsv(73, 76%, 71%)
CMYKcmyk(16.5%, 0%, 75.8%, 28.6%)
CIE-LABlab(69.69, -28.43, 62.01)
CIE-LCHlch(69.69, 68.22, 114.63°)
OKLaboklab(72.9% -0.0839 0.1369)
OKLCHoklch(72.9% 0.161 121.5)
XYZxyz(30.1320, 40.3131, 8.5762)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B62C #4A2CB6
analogous
#B68F2C #98B62C #53B62C
triadic
#98B62C #2C98B6 #B62C98
tetradic
#98B62C #2CB68F #4A2CB6 #B62C53
square
#98B62C #2CB68F #4A2CB6 #B62C53
split-complementary
#98B62C #2C53B6 #8F2CB6
monochromatic
#465314 #6F8520 #98B62C #B6D44C #CAE07D

Accessibility & contrast

On white

2.32
#98B62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#98B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B62C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B62C#FFFFFF#000000##000000
##98B62C1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB09
Deuteranopia (green-blind)
#BEAA39
Tritanopia (blue-blind)
#A0AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b62c;
/* rgb */ color: rgb(152, 182, 44);
/* oklch */ color: oklch(72.9% 0.161 121.5);
Tailwind
colors: {
  custom: {
    50: '#bacc70',
    500: '#98b62c',
    950: '#000000',
  },
}
SCSS
$custom: #98b62c;
$custom-light: #bacc70;
$custom-dark: #000000;
JSON
{
  "hex": "#98b62c",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 73.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.16055,
    "h": 121.5
  },
  "luminance": 0.40313
}

Semantic roles & 50–950 ramp

primary
#98B62C
secondary
#8876C8
accent
#44E467
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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