#98A145#98A145

#98A145 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.117 H 114.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#98A145
RGBrgb(152, 161, 69)
HSLhsl(66, 40%, 45%)
HSVhsv(66, 57%, 63%)
CMYKcmyk(5.6%, 0%, 57.1%, 36.9%)
CIE-LABlab(63.83, -16.36, 45.90)
CIE-LCHlch(63.83, 48.72, 109.62°)
OKLaboklab(68.25% -0.0479 0.1066)
OKLCHoklch(68.25% 0.117 114.2)
XYZxyz(26.7685, 32.5952, 10.5104)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A145 #4E45A1
analogous
#A17C45 #98A145 #6AA145
triadic
#98A145 #4598A1 #A14598
tetradic
#98A145 #45A17C #4E45A1 #A1456A
square
#98A145 #45A17C #4E45A1 #A1456A
split-complementary
#98A145 #456AA1 #7C45A1
monochromatic
#474B20 #707633 #98A145 #B5BD66 #CAD091

Accessibility & contrast

On white

2.79
#98A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#98A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A145
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A145#FFFFFF#000000##000000
##98A1451.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#AB9C4A
Tritanopia (blue-blind)
#A1988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a145;
/* rgb */ color: rgb(152, 161, 69);
/* oklch */ color: oklch(68.3% 0.117 114.2);
Tailwind
colors: {
  custom: {
    50: '#b8bc7c',
    500: '#98a145',
    950: '#000000',
  },
}
SCSS
$custom: #98a145;
$custom-light: #b8bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a145",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 65.87,
    "s": 40,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68254,
    "c": 0.11684,
    "h": 114.2
  },
  "luminance": 0.32595
}

Semantic roles & 50–950 ramp

primary
#98A145
secondary
#8C87BB
accent
#58D064
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A145

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

Preview Lab → · Contrast checker → · Palette generator →

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