#98AF4E#98AF4E

#98AF4E is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.6% C 0.126 H 120.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#98AF4E
RGBrgb(152, 175, 78)
HSLhsl(74, 38%, 50%)
HSVhsv(74, 55%, 69%)
CMYKcmyk(13.1%, 0%, 55.4%, 31.4%)
CIE-LABlab(67.94, -22.67, 46.34)
CIE-LCHlch(67.94, 51.59, 116.07°)
OKLaboklab(71.58% -0.0647 0.1085)
OKLCHoklch(71.58% 0.126 120.8)
XYZxyz(29.6543, 37.8855, 12.9566)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF4E #654EAF
analogous
#AF964E #98AF4E #67AF4E
triadic
#98AF4E #4E98AF #AF4E98
tetradic
#98AF4E #4EAF96 #654EAF #AF4E67
square
#98AF4E #4EAF96 #654EAF #AF4E67
split-complementary
#98AF4E #4E67AF #964EAF
monochromatic
#4E5A28 #73853B #98AF4E #B1C378 #C9D6A2

Accessibility & contrast

On white

2.45
#98AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#98AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF4E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF4E#FFFFFF#000000##000000
##98AF4E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A644
Deuteranopia (green-blind)
#B6A654
Tritanopia (blue-blind)
#9FA79A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98af4e;
/* rgb */ color: rgb(152, 175, 78);
/* oklch */ color: oklch(71.6% 0.126 120.8);
Tailwind
colors: {
  custom: {
    50: '#b8c683',
    500: '#98af4e',
    950: '#000000',
  },
}
SCSS
$custom: #98af4e;
$custom-light: #b8c683;
$custom-dark: #000000;
JSON
{
  "hex": "#98af4e",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 74.227,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71575,
    "c": 0.12637,
    "h": 120.8
  },
  "luminance": 0.37885
}

Semantic roles & 50–950 ramp

primary
#98AF4E
secondary
#A196C3
accent
#5ACE75
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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