#98A428#98A428

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

Color values

HEX#98A428
RGBrgb(152, 164, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(7.3%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.47, -19.76, 58.43)
CIE-LCHlch(64.47, 61.68, 108.68°)
OKLaboklab(68.69% -0.0603 0.1286)
OKLCHoklch(68.69% 0.142 115.1)
XYZxyz(26.6081, 33.3800, 7.0484)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A428 #3428A4
analogous
#A47228 #98A428 #5AA428
triadic
#98A428 #2898A4 #A42898
tetradic
#98A428 #28A472 #3428A4 #A4285A
square
#98A428 #28A472 #3428A4 #A4285A
split-complementary
#98A428 #285AA4 #7228A4
monochromatic
#3D4210 #6A731C #98A428 #C1CF3A #D0DB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A428#FFFFFF#000000##000000
##98A4281.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a428;
/* rgb */ color: rgb(152, 164, 40);
/* oklch */ color: oklch(68.7% 0.142 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6c',
    500: '#98a428',
    950: '#000000',
  },
}
SCSS
$custom: #98a428;
$custom-light: #babe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a428",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 65.806,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.68692,
    "c": 0.14207,
    "h": 115.1
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

primary
#98A428
secondary
#6F66C1
accent
#44E453
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A428

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

Preview Lab → · Contrast checker → · Palette generator →

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