#98AF2E#98AF2E

#98AF2E is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.151 H 119.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#98AF2E
RGBrgb(152, 175, 46)
HSLhsl(71, 58%, 43%)
HSVhsv(71, 74%, 69%)
CMYKcmyk(13.1%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.67, -24.94, 59.42)
CIE-LCHlch(67.67, 64.44, 112.77°)
OKLaboklab(71.28% -0.0741 0.1318)
OKLCHoklch(71.28% 0.151 119.4)
XYZxyz(28.7726, 37.5328, 8.3130)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF2E #452EAF
analogous
#AF852E #98AF2E #57AF2E
triadic
#98AF2E #2E98AF #AF2E98
tetradic
#98AF2E #2EAF85 #452EAF #AF2E57
square
#98AF2E #2EAF85 #452EAF #AF2E57
split-complementary
#98AF2E #2E57AF #852EAF
monochromatic
#444E15 #6E7F21 #98AF2E #B8D04B #CBDC7B

Accessibility & contrast

On white

2.47
#98AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#98AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF2E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF2E#FFFFFF#000000##000000
##98AF2E1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA514
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af2e;
/* rgb */ color: rgb(152, 175, 46);
/* oklch */ color: oklch(71.3% 0.151 119.4);
Tailwind
colors: {
  custom: {
    50: '#bac670',
    500: '#98af2e',
    950: '#000000',
  },
}
SCSS
$custom: #98af2e;
$custom-light: #bac670;
$custom-dark: #000000;
JSON
{
  "hex": "#98af2e",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 70.698,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.15118,
    "h": 119.4
  },
  "luminance": 0.37533
}

Semantic roles & 50–950 ramp

primary
#98AF2E
secondary
#8274C5
accent
#46E262
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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