#98A35C#98A35C

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

Color values

HEX#98A35C
RGBrgb(152, 163, 92)
HSLhsl(69, 28%, 50%)
HSVhsv(69, 44%, 64%)
CMYKcmyk(6.7%, 0%, 43.6%, 36.1%)
CIE-LABlab(64.68, -15.14, 35.48)
CIE-LCHlch(64.68, 38.58, 113.12°)
OKLaboklab(69.02% -0.0422 0.0858)
OKLCHoklch(69.02% 0.096 116.2)
XYZxyz(27.9781, 33.6428, 15.1429)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A35C #675CA3
analogous
#A38B5C #98A35C #74A35C
triadic
#98A35C #5C98A3 #A35C98
tetradic
#98A35C #5CA38B #675CA3 #A35C74
square
#98A35C #5CA38B #675CA3 #A35C74
split-complementary
#98A35C #5C74A3 #8B5CA3
monochromatic
#4F5530 #747C46 #98A35C #B1B983 #C9CFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A35C#FFFFFF#000000##000000
##98A35C1.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)
#AC9C56
Deuteranopia (green-blind)
#AB9D60
Tritanopia (blue-blind)
#9F9C92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a35c;
/* rgb */ color: rgb(152, 163, 92);
/* oklch */ color: oklch(69.0% 0.096 116.2);
Tailwind
colors: {
  custom: {
    50: '#b7be8b',
    500: '#98a35c',
    950: '#000000',
  },
}
SCSS
$custom: #98a35c;
$custom-light: #b7be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a35c",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 92
  },
  "hsl": {
    "h": 69.296,
    "s": 27.843,
    "l": 50
  },
  "oklch": {
    "l": 0.6902,
    "c": 0.09561,
    "h": 116.2
  },
  "luminance": 0.33642
}

Semantic roles & 50–950 ramp

primary
#98A35C
secondary
#A29DBD
accent
#64C473
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A35C

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

Preview Lab → · Contrast checker → · Palette generator →

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