#98A82A#98A82A

#98A82A is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.145 H 116.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#98A82A
RGBrgb(152, 168, 42)
HSLhsl(68, 60%, 41%)
HSVhsv(68, 75%, 66%)
CMYKcmyk(9.5%, 0%, 75%, 34.1%)
CIE-LABlab(65.63, -21.68, 58.85)
CIE-LCHlch(65.63, 62.72, 110.22°)
OKLaboklab(69.63% -0.0654 0.1299)
OKLCHoklch(69.63% 0.145 116.7)
XYZxyz(27.3701, 34.8482, 7.4746)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A82A #3A2AA8
analogous
#A8792A #98A82A #59A82A
triadic
#98A82A #2A98A8 #A82A98
tetradic
#98A82A #2AA879 #3A2AA8 #A82A59
square
#98A82A #2AA879 #3A2AA8 #A82A59
split-complementary
#98A82A #2A59A8 #792AA8
monochromatic
#3F4612 #6C771E #98A82A #BDCF40 #CEDB71

Accessibility & contrast

On white

2.64
#98A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#98A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A82A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A82A#FFFFFF#000000##000000
##98A82A1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a82a;
/* rgb */ color: rgb(152, 168, 42);
/* oklch */ color: oklch(69.6% 0.145 116.7);
Tailwind
colors: {
  custom: {
    50: '#bac16d',
    500: '#98a82a',
    950: '#000000',
  },
}
SCSS
$custom: #98a82a;
$custom-light: #bac16d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a82a",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 67.619,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69629,
    "c": 0.14543,
    "h": 116.7
  },
  "luminance": 0.34848
}

Semantic roles & 50–950 ramp

primary
#98A82A
secondary
#766BC3
accent
#45E359
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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