#98A81E#98A81E

#98A81E is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.151 H 116.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#98A81E
RGBrgb(152, 168, 30)
HSLhsl(67, 70%, 39%)
HSVhsv(67, 82%, 66%)
CMYKcmyk(9.5%, 0%, 82.1%, 34.1%)
CIE-LABlab(65.57, -22.17, 62.45)
CIE-LCHlch(65.57, 66.26, 109.55°)
OKLaboklab(69.57% -0.0677 0.1354)
OKLCHoklch(69.57% 0.151 116.6)
XYZxyz(27.1866, 34.7748, 6.5081)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A81E #2E1EA8
analogous
#A8731E #98A81E #53A81E
triadic
#98A81E #1E98A8 #A81E98
tetradic
#98A81E #1EA873 #2E1EA8 #A81E53
square
#98A81E #1EA873 #2E1EA8 #A81E53
split-complementary
#98A81E #1E53A8 #731EA8
monochromatic
#3A400B #697415 #98A81E #C5D92A #D3E25E

Accessibility & contrast

On white

2.64
#98A81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#98A81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A81E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A81E#FFFFFF#000000##000000
##98A81E1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#A29E8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a81e;
/* rgb */ color: rgb(152, 168, 30);
/* oklch */ color: oklch(69.6% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac168',
    500: '#98a81e',
    950: '#000000',
  },
}
SCSS
$custom: #98a81e;
$custom-light: #bac168;
$custom-dark: #000000;
JSON
{
  "hex": "#98a81e",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 66.957,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.1514,
    "h": 116.6
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#98A81E
secondary
#685BC7
accent
#3BED50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A81E

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

Preview Lab → · Contrast checker → · Palette generator →

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