#98A026#98A026

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

Color values

HEX#98A026
RGBrgb(152, 160, 38)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5%, 0%, 76.3%, 37.3%)
CIE-LABlab(63.31, -17.81, 58.02)
CIE-LCHlch(63.31, 60.69, 107.06°)
OKLaboklab(67.76% -0.0551 0.1274)
OKLCHoklch(67.76% 0.139 113.4)
XYZxyz(25.8704, 31.9575, 6.6390)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A026 #2E26A0
analogous
#A06B26 #98A026 #5BA026
triadic
#98A026 #2698A0 #A02698
tetradic
#98A026 #26A06B #2E26A0 #A0265B
square
#98A026 #26A06B #2E26A0 #A0265B
split-complementary
#98A026 #265BA0 #6B26A0
monochromatic
#3A3D0F #696F1A #98A026 #C5CF34 #D3DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A026#FFFFFF#000000##000000
##98A0261.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)
#AC9807
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a026;
/* rgb */ color: rgb(152, 160, 38);
/* oklch */ color: oklch(67.8% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6b',
    500: '#98a026',
    950: '#000000',
  },
}
SCSS
$custom: #98a026;
$custom-light: #babb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a026",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 63.934,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67758,
    "c": 0.13879,
    "h": 113.4
  },
  "luminance": 0.31957
}

Semantic roles & 50–950 ramp

primary
#98A026
secondary
#6861C0
accent
#43E54E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A026

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

Preview Lab → · Contrast checker → · Palette generator →

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