#98A838#98A838

#98A838 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.136 H 117.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#98A838
RGBrgb(152, 168, 56)
HSLhsl(69, 50%, 44%)
HSVhsv(69, 67%, 66%)
CMYKcmyk(9.5%, 0%, 66.7%, 34.1%)
CIE-LABlab(65.72, -20.89, 53.68)
CIE-LCHlch(65.72, 57.60, 111.26°)
OKLaboklab(69.73% -0.0619 0.1213)
OKLCHoklch(69.73% 0.136 117)
XYZxyz(27.6659, 34.9665, 9.0324)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A838 #4838A8
analogous
#A88038 #98A838 #60A838
triadic
#98A838 #3898A8 #A83898
tetradic
#98A838 #38A880 #4838A8 #A83860
square
#98A838 #38A880 #4838A8 #A83860
split-complementary
#98A838 #3860A8 #8038A8
monochromatic
#454C19 #6E7A29 #98A838 #B7C756 #CAD684

Accessibility & contrast

On white

2.63
#98A838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#98A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A838
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A838#FFFFFF#000000##000000
##98A8381.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a838;
/* rgb */ color: rgb(152, 168, 56);
/* oklch */ color: oklch(69.7% 0.136 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c175',
    500: '#98a838',
    950: '#000000',
  },
}
SCSS
$custom: #98a838;
$custom-light: #b9c175;
$custom-dark: #000000;
JSON
{
  "hex": "#98a838",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 68.571,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.1362,
    "h": 117
  },
  "luminance": 0.34966
}

Semantic roles & 50–950 ramp

primary
#98A838
secondary
#867CC0
accent
#4EDA62
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98A838

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

Preview Lab → · Contrast checker → · Palette generator →

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