#98A047#98A047

#98A047 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.114 H 113.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#98A047
RGBrgb(152, 160, 71)
HSLhsl(65, 39%, 45%)
HSVhsv(65, 56%, 63%)
CMYKcmyk(5%, 0%, 55.6%, 37.3%)
CIE-LABlab(63.57, -15.67, 44.65)
CIE-LCHlch(63.57, 47.32, 109.34°)
OKLaboklab(68.05% -0.0457 0.1041)
OKLCHoklch(68.05% 0.114 113.7)
XYZxyz(26.6576, 32.2724, 10.7849)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A047 #4F47A0
analogous
#A07B47 #98A047 #6CA047
triadic
#98A047 #4798A0 #A04798
tetradic
#98A047 #47A07B #4F47A0 #A0476C
square
#98A047 #47A07B #4F47A0 #A0476C
split-complementary
#98A047 #476CA0 #7B47A0
monochromatic
#474B21 #707634 #98A047 #B5BC68 #C9CF93

Accessibility & contrast

On white

2.82
#98A047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#98A047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A047
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A047#FFFFFF#000000##000000
##98A0471.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993E
Deuteranopia (green-blind)
#AA9B4C
Tritanopia (blue-blind)
#A1988C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a047;
/* rgb */ color: rgb(152, 160, 71);
/* oklch */ color: oklch(68.0% 0.114 113.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc7d',
    500: '#98a047',
    950: '#000000',
  },
}
SCSS
$custom: #98a047;
$custom-light: #b8bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a047",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 65.393,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68049,
    "c": 0.11373,
    "h": 113.7
  },
  "luminance": 0.32272
}

Semantic roles & 50–950 ramp

primary
#98A047
secondary
#8D88BB
accent
#59CE64
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #98A047

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

Preview Lab → · Contrast checker → · Palette generator →

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