#98A71E#98A71E

#98A71E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.150 H 116.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#98A71E
RGBrgb(152, 167, 30)
HSLhsl(67, 70%, 39%)
HSVhsv(67, 82%, 65%)
CMYKcmyk(9%, 0%, 82%, 34.5%)
CIE-LABlab(65.28, -21.67, 62.19)
CIE-LCHlch(65.28, 65.86, 109.21°)
OKLaboklab(69.33% -0.0664 0.1349)
OKLCHoklch(69.33% 0.15 116.2)
XYZxyz(27.0027, 34.4070, 6.4468)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A71E #2D1EA7
analogous
#A7711E #98A71E #53A71E
triadic
#98A71E #1E98A7 #A71E98
tetradic
#98A71E #1EA771 #2D1EA7 #A71E53
square
#98A71E #1EA771 #2D1EA7 #A71E53
split-complementary
#98A71E #1E53A7 #711EA7
monochromatic
#3A3F0B #697315 #98A71E #C5D92A #D3E25D

Accessibility & contrast

On white

2.66
#98A71E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#98A71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A71E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A71E#FFFFFF#000000##000000
##98A71E1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a71e;
/* rgb */ color: rgb(152, 167, 30);
/* oklch */ color: oklch(69.3% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#bac168',
    500: '#98a71e',
    950: '#000000',
  },
}
SCSS
$custom: #98a71e;
$custom-light: #bac168;
$custom-dark: #000000;
JSON
{
  "hex": "#98a71e",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 66.569,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.15031,
    "h": 116.2
  },
  "luminance": 0.34407
}

Semantic roles & 50–950 ramp

primary
#98A71E
secondary
#665BC6
accent
#3BEC4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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