#98A241#98A241

#98A241 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.122 H 114.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#98A241
RGBrgb(152, 162, 65)
HSLhsl(66, 43%, 45%)
HSVhsv(66, 60%, 64%)
CMYKcmyk(6.2%, 0%, 59.9%, 36.5%)
CIE-LABlab(64.08, -17.20, 48.02)
CIE-LCHlch(64.08, 51.01, 109.70°)
OKLaboklab(68.44% -0.0506 0.1106)
OKLCHoklch(68.44% 0.122 114.6)
XYZxyz(26.8239, 32.8981, 9.9369)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A241 #4B41A2
analogous
#A27C41 #98A241 #67A241
triadic
#98A241 #4198A2 #A24198
tetradic
#98A241 #41A27C #4B41A2 #A24167
square
#98A241 #41A27C #4B41A2 #A24167
split-complementary
#98A241 #4167A2 #7C41A2
monochromatic
#464B1E #6F762F #98A241 #B6BF61 #CAD18C

Accessibility & contrast

On white

2.77
#98A241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#98A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A241
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A241#FFFFFF#000000##000000
##98A2411.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A36
Deuteranopia (green-blind)
#AC9C47
Tritanopia (blue-blind)
#A1998D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a241;
/* rgb */ color: rgb(152, 162, 65);
/* oklch */ color: oklch(68.4% 0.122 114.6);
Tailwind
colors: {
  custom: {
    50: '#b9bd7a',
    500: '#98a241',
    950: '#000000',
  },
}
SCSS
$custom: #98a241;
$custom-light: #b9bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a241",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 66.186,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68439,
    "c": 0.12167,
    "h": 114.6
  },
  "luminance": 0.32898
}

Semantic roles & 50–950 ramp

primary
#98A241
secondary
#8983BC
accent
#55D362
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98A241

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

Preview Lab → · Contrast checker → · Palette generator →

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