#98A336#98A336

#98A336 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.132 H 114.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#98A336
RGBrgb(152, 163, 54)
HSLhsl(66, 50%, 43%)
HSVhsv(66, 67%, 64%)
CMYKcmyk(6.7%, 0%, 66.9%, 36.1%)
CIE-LABlab(64.27, -18.48, 53.00)
CIE-LCHlch(64.27, 56.13, 109.23°)
OKLaboklab(68.56% -0.0554 0.1196)
OKLCHoklch(68.56% 0.132 114.9)
XYZxyz(26.7126, 33.1366, 8.4781)
Luminance0.3314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A336 #4136A3
analogous
#A37736 #98A336 #62A336
triadic
#98A336 #3698A3 #A33698
tetradic
#98A336 #36A377 #4136A3 #A33662
square
#98A336 #36A377 #4136A3 #A33662
split-complementary
#98A336 #3662A3 #7736A3
monochromatic
#424718 #6D7527 #98A336 #BAC551 #CCD57F

Accessibility & contrast

On white

2.75
#98A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#98A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A336
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A336#FFFFFF#000000##000000
##98A3361.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a336;
/* rgb */ color: rgb(152, 163, 54);
/* oklch */ color: oklch(68.6% 0.132 114.9);
Tailwind
colors: {
  custom: {
    50: '#b9be73',
    500: '#98a336',
    950: '#000000',
  },
}
SCSS
$custom: #98a336;
$custom-light: #b9be73;
$custom-dark: #000000;
JSON
{
  "hex": "#98a336",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 66.055,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.13178,
    "h": 114.9
  },
  "luminance": 0.33136
}

Semantic roles & 50–950 ramp

primary
#98A336
secondary
#7E77BE
accent
#4EDA5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A336

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

Preview Lab → · Contrast checker → · Palette generator →

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