#98A040#98A040

#98A040 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.120 H 113.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#98A040
RGBrgb(152, 160, 64)
HSLhsl(65, 43%, 44%)
HSVhsv(65, 60%, 63%)
CMYKcmyk(5%, 0%, 60%, 37.3%)
CIE-LABlab(63.50, -16.24, 47.84)
CIE-LCHlch(63.50, 50.52, 108.76°)
OKLaboklab(67.97% -0.0481 0.1101)
OKLCHoklch(67.97% 0.12 113.6)
XYZxyz(26.4457, 32.1877, 9.6692)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A040 #4840A0
analogous
#A07840 #98A040 #68A040
triadic
#98A040 #4098A0 #A04098
tetradic
#98A040 #40A078 #4840A0 #A04068
square
#98A040 #40A078 #4840A0 #A04068
split-complementary
#98A040 #4068A0 #7840A0
monochromatic
#45491D #6E742F #98A040 #B7BF5E #CAD08A

Accessibility & contrast

On white

2.82
#98A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#98A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A040
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A040#FFFFFF#000000##000000
##98A0401.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#AB9B46
Tritanopia (blue-blind)
#A1978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a040;
/* rgb */ color: rgb(152, 160, 64);
/* oklch */ color: oklch(68.0% 0.120 113.6);
Tailwind
colors: {
  custom: {
    50: '#b9bc79',
    500: '#98a040',
    950: '#000000',
  },
}
SCSS
$custom: #98a040;
$custom-light: #b9bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#98a040",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 65,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.12013,
    "h": 113.6
  },
  "luminance": 0.32187
}

Semantic roles & 50–950 ramp

primary
#98A040
secondary
#8681BB
accent
#55D360
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #98A040

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

Preview Lab → · Contrast checker → · Palette generator →

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