#98A54B#98A54B

#98A54B is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.116 H 116.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#98A54B
RGBrgb(152, 165, 75)
HSLhsl(69, 38%, 47%)
HSVhsv(69, 55%, 65%)
CMYKcmyk(7.9%, 0%, 54.5%, 35.3%)
CIE-LABlab(65.04, -17.90, 44.42)
CIE-LCHlch(65.04, 47.89, 111.95°)
OKLaboklab(69.24% -0.0516 0.1041)
OKLCHoklch(69.24% 0.116 116.4)
XYZxyz(27.6745, 34.0940, 11.7782)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A54B #584BA5
analogous
#A5854B #98A54B #6BA54B
triadic
#98A54B #4B98A5 #A54B98
tetradic
#98A54B #4BA585 #584BA5 #A54B6B
square
#98A54B #4BA585 #584BA5 #A54B6B
split-complementary
#98A54B #4B6BA5 #854BA5
monochromatic
#4A5125 #717B38 #98A54B #B2BE6F #C9D19A

Accessibility & contrast

On white

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

On black

7.82
#98A54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A54B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A54B#FFFFFF#000000##000000
##98A54B1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#AE9F50
Tritanopia (blue-blind)
#A09D91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a54b;
/* rgb */ color: rgb(152, 165, 75);
/* oklch */ color: oklch(69.2% 0.116 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf80',
    500: '#98a54b',
    950: '#000000',
  },
}
SCSS
$custom: #98a54b;
$custom-light: #b8bf80;
$custom-dark: #000000;
JSON
{
  "hex": "#98a54b",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 75
  },
  "hsl": {
    "h": 68.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69239,
    "c": 0.11617,
    "h": 116.4
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#98A54B
secondary
#958FBD
accent
#5ACD6B
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A54B

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

Preview Lab → · Contrast checker → · Palette generator →

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