#98A641#98A641

#98A641 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.127 H 116.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#98A641
RGBrgb(152, 166, 65)
HSLhsl(68, 44%, 45%)
HSVhsv(68, 61%, 65%)
CMYKcmyk(8.4%, 0%, 60.8%, 34.9%)
CIE-LABlab(65.22, -19.24, 49.28)
CIE-LCHlch(65.22, 52.90, 111.33°)
OKLaboklab(69.36% -0.0564 0.1133)
OKLCHoklch(69.36% 0.127 116.5)
XYZxyz(27.5398, 34.3298, 10.1755)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A641 #4F41A6
analogous
#A68141 #98A641 #65A641
triadic
#98A641 #4198A6 #A64198
tetradic
#98A641 #41A681 #4F41A6 #A64165
square
#98A641 #41A681 #4F41A6 #A64165
split-complementary
#98A641 #4165A6 #8141A6
monochromatic
#474E1F #707A30 #98A641 #B5C262 #C9D38E

Accessibility & contrast

On white

2.67
#98A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#98A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A641
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A641#FFFFFF#000000##000000
##98A6411.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E35
Deuteranopia (green-blind)
#B09F47
Tritanopia (blue-blind)
#A19D91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a641;
/* rgb */ color: rgb(152, 166, 65);
/* oklch */ color: oklch(69.4% 0.127 116.5);
Tailwind
colors: {
  custom: {
    50: '#b9c07a',
    500: '#98a641',
    950: '#000000',
  },
}
SCSS
$custom: #98a641;
$custom-light: #b9c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a641",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 68.317,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69357,
    "c": 0.12656,
    "h": 116.5
  },
  "luminance": 0.34329
}

Semantic roles & 50–950 ramp

primary
#98A641
secondary
#8D85BE
accent
#54D366
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98A641

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

Preview Lab → · Contrast checker → · Palette generator →

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