#98A72A#98A72A

#98A72A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.4% C 0.144 H 116.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#98A72A
RGBrgb(152, 167, 42)
HSLhsl(67, 60%, 41%)
HSVhsv(67, 75%, 65%)
CMYKcmyk(9%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.34, -21.17, 58.58)
CIE-LCHlch(65.34, 62.29, 109.87°)
OKLaboklab(69.4% -0.064 0.1293)
OKLCHoklch(69.4% 0.144 116.3)
XYZxyz(27.1862, 34.4804, 7.4133)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A72A #392AA7
analogous
#A7772A #98A72A #59A72A
triadic
#98A72A #2A98A7 #A72A98
tetradic
#98A72A #2AA777 #392AA7 #A72A59
square
#98A72A #2AA777 #392AA7 #A72A59
split-complementary
#98A72A #2A59A7 #772AA7
monochromatic
#3F4511 #6B761E #98A72A #BECF3F #CEDB70

Accessibility & contrast

On white

2.66
#98A72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#98A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A72A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A72A#FFFFFF#000000##000000
##98A72A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#B29F35
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a72a;
/* rgb */ color: rgb(152, 167, 42);
/* oklch */ color: oklch(69.4% 0.144 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac16d',
    500: '#98a72a',
    950: '#000000',
  },
}
SCSS
$custom: #98a72a;
$custom-light: #bac16d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a72a",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 67.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69398,
    "c": 0.14429,
    "h": 116.3
  },
  "luminance": 0.3448
}

Semantic roles & 50–950 ramp

primary
#98A72A
secondary
#756BC2
accent
#45E358
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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