#98A128#98A128

#98A128 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.139 H 113.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98A128
RGBrgb(152, 161, 40)
HSLhsl(64, 60%, 39%)
HSVhsv(64, 75%, 63%)
CMYKcmyk(5.6%, 0%, 75.2%, 36.9%)
CIE-LABlab(63.61, -18.23, 57.62)
CIE-LCHlch(63.61, 60.44, 107.56°)
OKLaboklab(68% -0.0561 0.1269)
OKLCHoklch(68% 0.139 113.8)
XYZxyz(26.0776, 32.3189, 6.8715)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A128 #3128A1
analogous
#A16E28 #98A128 #5CA128
triadic
#98A128 #2898A1 #A12898
tetradic
#98A128 #28A16E #3128A1 #A1285C
square
#98A128 #28A16E #3128A1 #A1285C
split-complementary
#98A128 #285CA1 #6E28A1
monochromatic
#3B3F10 #6A701C #98A128 #C3CE39 #D2DA6A

Accessibility & contrast

On white

2.81
#98A128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A128
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A128#FFFFFF#000000##000000
##98A1281.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a128;
/* rgb */ color: rgb(152, 161, 40);
/* oklch */ color: oklch(68.0% 0.139 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6c',
    500: '#98a128',
    950: '#000000',
  },
}
SCSS
$custom: #98a128;
$custom-light: #babc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a128",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 64.463,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.13876,
    "h": 113.8
  },
  "luminance": 0.32318
}

Semantic roles & 50–950 ramp

primary
#98A128
secondary
#6B65C0
accent
#44E350
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A128

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

Preview Lab → · Contrast checker → · Palette generator →

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