#98A018#98A018

#98A018 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.145 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#98A018
RGBrgb(152, 160, 24)
HSLhsl(64, 74%, 36%)
HSVhsv(64, 85%, 63%)
CMYKcmyk(5%, 0%, 85%, 37.3%)
CIE-LABlab(63.25, -18.32, 61.97)
CIE-LCHlch(63.25, 64.62, 106.47°)
OKLaboklab(67.69% -0.0575 0.1334)
OKLCHoklch(67.69% 0.145 113.3)
XYZxyz(25.6854, 31.8835, 5.6651)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A018 #2018A0
analogous
#A06418 #98A018 #54A018
triadic
#98A018 #1898A0 #A01898
tetradic
#98A018 #18A064 #2018A0 #A01854
square
#98A018 #18A064 #2018A0 #A01854
split-complementary
#98A018 #1854A0 #6418A0
monochromatic
#333608 #656B10 #98A018 #CBD520 #DCE44E

Accessibility & contrast

On white

2.85
#98A018 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#98A018 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A018
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A018#FFFFFF#000000##000000
##98A0181.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9A27
Tritanopia (blue-blind)
#A39688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a018;
/* rgb */ color: rgb(152, 160, 24);
/* oklch */ color: oklch(67.7% 0.145 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb65',
    500: '#98a018',
    950: '#000000',
  },
}
SCSS
$custom: #98a018;
$custom-light: #babb65;
$custom-dark: #000000;
JSON
{
  "hex": "#98a018",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 63.529,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6769,
    "c": 0.14523,
    "h": 113.3
  },
  "luminance": 0.31883
}

Semantic roles & 50–950 ramp

primary
#98A018
secondary
#544DC6
accent
#37F142
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98A018

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

Preview Lab → · Contrast checker → · Palette generator →

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