#98A51E#98A51E

#98A51E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.148 H 115.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#98A51E
RGBrgb(152, 165, 30)
HSLhsl(66, 69%, 38%)
HSVhsv(66, 82%, 65%)
CMYKcmyk(7.9%, 0%, 81.8%, 35.3%)
CIE-LABlab(64.71, -20.66, 61.69)
CIE-LCHlch(64.71, 65.06, 108.52°)
OKLaboklab(68.87% -0.0636 0.1338)
OKLCHoklch(68.87% 0.148 115.4)
XYZxyz(26.6392, 33.6799, 6.3256)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A51E #2B1EA5
analogous
#A56E1E #98A51E #54A51E
triadic
#98A51E #1E98A5 #A51E98
tetradic
#98A51E #1EA56E #2B1EA5 #A51E54
square
#98A51E #1EA56E #2B1EA5 #A51E54
split-complementary
#98A51E #1E54A5 #6E1EA5
monochromatic
#393D0B #687115 #98A51E #C7D828 #D5E15C

Accessibility & contrast

On white

2.71
#98A51E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#98A51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A51E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A51E#FFFFFF#000000##000000
##98A51E1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a51e;
/* rgb */ color: rgb(152, 165, 30);
/* oklch */ color: oklch(68.9% 0.148 115.4);
Tailwind
colors: {
  custom: {
    50: '#babf68',
    500: '#98a51e',
    950: '#000000',
  },
}
SCSS
$custom: #98a51e;
$custom-light: #babf68;
$custom-dark: #000000;
JSON
{
  "hex": "#98a51e",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 65.778,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.14813,
    "h": 115.4
  },
  "luminance": 0.33679
}

Semantic roles & 50–950 ramp

primary
#98A51E
secondary
#6459C5
accent
#3CEC4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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