#98AB2E#98AB2E

#98AB2E is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.147 H 117.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#98AB2E
RGBrgb(152, 171, 46)
HSLhsl(69, 58%, 43%)
HSVhsv(69, 73%, 67%)
CMYKcmyk(11.1%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.52, -22.97, 58.31)
CIE-LCHlch(66.52, 62.67, 111.50°)
OKLaboklab(70.35% -0.0687 0.1294)
OKLCHoklch(70.35% 0.147 117.9)
XYZxyz(28.0056, 35.9988, 8.0574)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2E #412EAB
analogous
#AB802E #98AB2E #59AB2E
triadic
#98AB2E #2E98AB #AB2E98
tetradic
#98AB2E #2EAB80 #412EAB #AB2E59
square
#98AB2E #2EAB80 #412EAB #AB2E59
split-complementary
#98AB2E #2E59AB #802EAB
monochromatic
#424B14 #6D7B21 #98AB2E #BACE48 #CCDB79

Accessibility & contrast

On white

2.56
#98AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#98AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB2E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB2E#FFFFFF#000000##000000
##98AB2E1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab2e;
/* rgb */ color: rgb(152, 171, 46);
/* oklch */ color: oklch(70.4% 0.147 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac470',
    500: '#98ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2e;
$custom-light: #bac470;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2e",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 69.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.14651,
    "h": 117.9
  },
  "luminance": 0.35998
}

Semantic roles & 50–950 ramp

primary
#98AB2E
secondary
#7E72C3
accent
#47E15E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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