#98A261#98A261

#98A261 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.088 H 115.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#98A261
RGBrgb(152, 162, 97)
HSLhsl(69, 26%, 51%)
HSVhsv(69, 40%, 64%)
CMYKcmyk(6.2%, 0%, 40.1%, 36.5%)
CIE-LABlab(64.47, -14.04, 32.60)
CIE-LCHlch(64.47, 35.49, 113.30°)
OKLaboklab(68.88% -0.0387 0.0796)
OKLCHoklch(68.88% 0.088 115.9)
XYZxyz(28.0271, 33.3794, 16.2733)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A261 #6B61A2
analogous
#A28B61 #98A261 #77A261
triadic
#98A261 #6198A2 #A26198
tetradic
#98A261 #61A28B #6B61A2 #A26177
square
#98A261 #61A28B #6B61A2 #A26177
split-complementary
#98A261 #6177A2 #8B61A2
monochromatic
#515633 #757D49 #98A261 #B1B988 #CACFAE

Accessibility & contrast

On white

2.74
#98A261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#98A261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A261
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A261#FFFFFF#000000##000000
##98A2611.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5C
Deuteranopia (green-blind)
#A99D64
Tritanopia (blue-blind)
#9F9B92
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a261;
/* rgb */ color: rgb(152, 162, 97);
/* oklch */ color: oklch(68.9% 0.088 115.9);
Tailwind
colors: {
  custom: {
    50: '#b7bd8f',
    500: '#98a261',
    950: '#000000',
  },
}
SCSS
$custom: #98a261;
$custom-light: #b7bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a261",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 69.231,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68875,
    "c": 0.08846,
    "h": 115.9
  },
  "luminance": 0.33379
}

Semantic roles & 50–950 ramp

primary
#98A261
secondary
#A5A1BE
accent
#66C274
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A261

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

Preview Lab → · Contrast checker → · Palette generator →

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