#98A426#98A426

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

Color values

HEX#98A426
RGBrgb(152, 164, 38)
HSLhsl(66, 62%, 40%)
HSVhsv(66, 77%, 64%)
CMYKcmyk(7.3%, 0%, 76.8%, 35.7%)
CIE-LABlab(64.46, -19.85, 59.08)
CIE-LCHlch(64.46, 62.33, 108.57°)
OKLaboklab(68.68% -0.0607 0.1297)
OKLCHoklch(68.68% 0.143 115.1)
XYZxyz(26.5750, 33.3667, 6.8738)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A426 #3226A4
analogous
#A47126 #98A426 #59A426
triadic
#98A426 #2698A4 #A42698
tetradic
#98A426 #26A471 #3226A4 #A42659
square
#98A426 #26A471 #3226A4 #A42659
split-complementary
#98A426 #2659A4 #7126A4
monochromatic
#3C410F #6A721A #98A426 #C2D137 #D1DC68

Accessibility & contrast

On white

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

On black

7.67
#98A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A426
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A426#FFFFFF#000000##000000
##98A4261.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B04
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A29A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a426;
/* rgb */ color: rgb(152, 164, 38);
/* oklch */ color: oklch(68.7% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6b',
    500: '#98a426',
    950: '#000000',
  },
}
SCSS
$custom: #98a426;
$custom-light: #babe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a426",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 65.714,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.14317,
    "h": 115.1
  },
  "luminance": 0.33366
}

Semantic roles & 50–950 ramp

primary
#98A426
secondary
#6D64C2
accent
#42E552
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A426

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

Preview Lab → · Contrast checker → · Palette generator →

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