#98A342#98A342

#98A342 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.122 H 115.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#98A342
RGBrgb(152, 163, 66)
HSLhsl(67, 42%, 45%)
HSVhsv(67, 60%, 64%)
CMYKcmyk(6.7%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.37, -17.63, 47.89)
CIE-LCHlch(64.37, 51.03, 110.21°)
OKLaboklab(68.68% -0.0518 0.1105)
OKLCHoklch(68.68% 0.122 115.1)
XYZxyz(27.0300, 33.2635, 10.1498)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A342 #4D42A3
analogous
#A37D42 #98A342 #68A342
triadic
#98A342 #4298A3 #A34298
tetradic
#98A342 #42A37D #4D42A3 #A34268
square
#98A342 #42A37D #4D42A3 #A34268
split-complementary
#98A342 #4268A3 #7D42A3
monochromatic
#474C1F #6F7730 #98A342 #B5C063 #CAD18E

Accessibility & contrast

On white

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

On black

7.65
#98A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A342
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A342#FFFFFF#000000##000000
##98A3421.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#A19A8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a342;
/* rgb */ color: rgb(152, 163, 66);
/* oklch */ color: oklch(68.7% 0.122 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be7a',
    500: '#98a342',
    950: '#000000',
  },
}
SCSS
$custom: #98a342;
$custom-light: #b9be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a342",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 66.804,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68679,
    "c": 0.122,
    "h": 115.1
  },
  "luminance": 0.33263
}

Semantic roles & 50–950 ramp

primary
#98A342
secondary
#8B84BC
accent
#56D264
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98A342

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

Preview Lab → · Contrast checker → · Palette generator →

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