#98A028#98A028

#98A028 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.138 H 113.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#98A028
RGBrgb(152, 160, 40)
HSLhsl(64, 60%, 39%)
HSVhsv(64, 75%, 63%)
CMYKcmyk(5%, 0%, 75%, 37.3%)
CIE-LABlab(63.32, -17.72, 57.35)
CIE-LCHlch(63.32, 60.03, 107.17°)
OKLaboklab(67.77% -0.0546 0.1264)
OKLCHoklch(67.77% 0.138 113.4)
XYZxyz(25.9035, 31.9708, 6.8135)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A028 #3028A0
analogous
#A06C28 #98A028 #5CA028
triadic
#98A028 #2898A0 #A02898
tetradic
#98A028 #28A06C #3028A0 #A0285C
square
#98A028 #28A06C #3028A0 #A0285C
split-complementary
#98A028 #285CA0 #6C28A0
monochromatic
#3B3E10 #696F1C #98A028 #C3CD38 #D2D969

Accessibility & contrast

On white

2.84
#98A028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#98A028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A028
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A028#FFFFFF#000000##000000
##98A0281.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980D
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a028;
/* rgb */ color: rgb(152, 160, 40);
/* oklch */ color: oklch(67.8% 0.138 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6c',
    500: '#98a028',
    950: '#000000',
  },
}
SCSS
$custom: #98a028;
$custom-light: #babb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a028",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 64,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67771,
    "c": 0.13766,
    "h": 113.4
  },
  "luminance": 0.3197
}

Semantic roles & 50–950 ramp

primary
#98A028
secondary
#6A64C0
accent
#45E34F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A028

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

Preview Lab → · Contrast checker → · Palette generator →

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