#98A42A#98A42A

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

Color values

HEX#98A42A
RGBrgb(152, 164, 42)
HSLhsl(66, 59%, 40%)
HSVhsv(66, 74%, 64%)
CMYKcmyk(7.3%, 0%, 74.4%, 35.7%)
CIE-LABlab(64.48, -19.66, 57.76)
CIE-LCHlch(64.48, 61.01, 108.80°)
OKLaboklab(68.7% -0.0598 0.1276)
OKLCHoklch(68.7% 0.141 115.1)
XYZxyz(26.6430, 33.3939, 7.2322)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A42A #362AA4
analogous
#A4732A #98A42A #5BA42A
triadic
#98A42A #2A98A4 #A42A98
tetradic
#98A42A #2AA473 #362AA4 #A42A5B
square
#98A42A #2AA473 #362AA4 #A42A5B
split-complementary
#98A42A #2A5BA4 #732AA4
monochromatic
#3E4311 #6B731E #98A42A #BFCD3E #CFDA6E

Accessibility & contrast

On white

2.73
#98A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A42A#FFFFFF#000000##000000
##98A42A1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a42a;
/* rgb */ color: rgb(152, 164, 42);
/* oklch */ color: oklch(68.7% 0.141 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6d',
    500: '#98a42a',
    950: '#000000',
  },
}
SCSS
$custom: #98a42a;
$custom-light: #babe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a42a",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 65.902,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.14091,
    "h": 115.1
  },
  "luminance": 0.33393
}

Semantic roles & 50–950 ramp

primary
#98A42A
secondary
#7269C1
accent
#45E255
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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