#98A72F#98A72F

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

Color values

HEX#98A72F
RGBrgb(152, 167, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.37, -20.92, 56.83)
CIE-LCHlch(65.37, 60.56, 110.21°)
OKLaboklab(69.43% -0.0629 0.1265)
OKLCHoklch(69.43% 0.141 116.4)
XYZxyz(27.2814, 34.5184, 7.9143)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A72F #3E2FA7
analogous
#A77A2F #98A72F #5CA72F
triadic
#98A72F #2F98A7 #A72F98
tetradic
#98A72F #2FA77A #3E2FA7 #A72F5C
square
#98A72F #2FA77A #3E2FA7 #A72F5C
split-complementary
#98A72F #2F5CA7 #7A2FA7
monochromatic
#414714 #6D7722 #98A72F #BBCB48 #CDD978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A72F#FFFFFF#000000##000000
##98A72F1.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)
#B39E1A
Deuteranopia (green-blind)
#B1A039
Tritanopia (blue-blind)
#A29D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a72f;
/* rgb */ color: rgb(152, 167, 47);
/* oklch */ color: oklch(69.4% 0.141 116.4);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#98a72f',
    950: '#000000',
  },
}
SCSS
$custom: #98a72f;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#98a72f",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 67.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.14125,
    "h": 116.4
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#98A72F
secondary
#7B71C1
accent
#48DF5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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