#98A35B#98A35B

#98A35B is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.097 H 116.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#98A35B
RGBrgb(152, 163, 91)
HSLhsl(69, 28%, 50%)
HSVhsv(69, 44%, 64%)
CMYKcmyk(6.7%, 0%, 44.2%, 36.1%)
CIE-LABlab(64.66, -15.26, 35.98)
CIE-LCHlch(64.66, 39.08, 112.98°)
OKLaboklab(69.01% -0.0426 0.0869)
OKLCHoklch(69.01% 0.097 116.1)
XYZxyz(27.9347, 33.6254, 14.9142)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A35B #665BA3
analogous
#A38A5B #98A35B #74A35B
triadic
#98A35B #5B98A3 #A35B98
tetradic
#98A35B #5BA38A #665BA3 #A35B74
square
#98A35B #5BA38A #665BA3 #A35B74
split-complementary
#98A35B #5B74A3 #8A5BA3
monochromatic
#4F542F #737C45 #98A35B #B1B982 #C9CFA9

Accessibility & contrast

On white

2.72
#98A35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#98A35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A35B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A35B#FFFFFF#000000##000000
##98A35B1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C55
Deuteranopia (green-blind)
#AB9D5F
Tritanopia (blue-blind)
#9F9C92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a35b;
/* rgb */ color: rgb(152, 163, 91);
/* oklch */ color: oklch(69.0% 0.097 116.1);
Tailwind
colors: {
  custom: {
    50: '#b7be8b',
    500: '#98a35b',
    950: '#000000',
  },
}
SCSS
$custom: #98a35b;
$custom-light: #b7be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a35b",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 91
  },
  "hsl": {
    "h": 69.167,
    "s": 28.346,
    "l": 49.804
  },
  "oklch": {
    "l": 0.69005,
    "c": 0.09674,
    "h": 116.1
  },
  "luminance": 0.33625
}

Semantic roles & 50–950 ramp

primary
#98A35B
secondary
#A29DBD
accent
#63C572
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A35B

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

Preview Lab → · Contrast checker → · Palette generator →

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