#98A45F#98A45F

#98A45F is a light, moderate yellow-green. Relative luminance 0.341; OKLCH L 69.3% C 0.094 H 117.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A45F
RGBrgb(152, 164, 95)
HSLhsl(70, 27%, 51%)
HSVhsv(70, 42%, 64%)
CMYKcmyk(7.3%, 0%, 42.1%, 35.7%)
CIE-LABlab(65.00, -15.32, 34.33)
CIE-LCHlch(65.00, 37.59, 114.05°)
OKLaboklab(69.3% -0.0424 0.0834)
OKLCHoklch(69.3% 0.094 117)
XYZxyz(28.2901, 34.0528, 15.9068)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A45F #6B5FA4
analogous
#A48D5F #98A45F #75A45F
triadic
#98A45F #5F98A4 #A45F98
tetradic
#98A45F #5FA48D #6B5FA4 #A45F75
square
#98A45F #5FA48D #6B5FA4 #A45F75
split-complementary
#98A45F #5F75A4 #8D5FA4
monochromatic
#515732 #757E48 #98A45F #B1BA86 #CAD0AD

Accessibility & contrast

On white

2.69
#98A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#98A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A45F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A45F#FFFFFF#000000##000000
##98A45F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#AB9E62
Tritanopia (blue-blind)
#9F9D93
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a45f;
/* rgb */ color: rgb(152, 164, 95);
/* oklch */ color: oklch(69.3% 0.094 117.0);
Tailwind
colors: {
  custom: {
    50: '#b7bf8d',
    500: '#98a45f',
    950: '#000000',
  },
}
SCSS
$custom: #98a45f;
$custom-light: #b7bf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a45f",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 70.435,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.09356,
    "h": 117
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

primary
#98A45F
secondary
#A5A0BF
accent
#64C475
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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