#98A62F#98A62F

#98A62F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.140 H 116.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#98A62F
RGBrgb(152, 166, 47)
HSLhsl(67, 56%, 42%)
HSVhsv(67, 72%, 65%)
CMYKcmyk(8.4%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.08, -20.42, 56.55)
CIE-LCHlch(65.08, 60.12, 109.85°)
OKLaboklab(69.2% -0.0615 0.1259)
OKLCHoklch(69.2% 0.14 116)
XYZxyz(27.0989, 34.1535, 7.8535)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A62F #3D2FA6
analogous
#A6792F #98A62F #5DA62F
triadic
#98A62F #2F98A6 #A62F98
tetradic
#98A62F #2FA679 #3D2FA6 #A62F5D
square
#98A62F #2FA679 #3D2FA6 #A62F5D
split-complementary
#98A62F #2F5DA6 #792FA6
monochromatic
#414714 #6C7621 #98A62F #BBCB47 #CDD877

Accessibility & contrast

On white

2.68
#98A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#98A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A62F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A62F#FFFFFF#000000##000000
##98A62F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1A
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A29C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a62f;
/* rgb */ color: rgb(152, 166, 47);
/* oklch */ color: oklch(69.2% 0.140 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9c070',
    500: '#98a62f',
    950: '#000000',
  },
}
SCSS
$custom: #98a62f;
$custom-light: #b9c070;
$custom-dark: #000000;
JSON
{
  "hex": "#98a62f",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 67.059,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.692,
    "c": 0.1401,
    "h": 116
  },
  "luminance": 0.34153
}

Semantic roles & 50–950 ramp

primary
#98A62F
secondary
#7A70C1
accent
#49DF5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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