#98AB2F#98AB2F

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

Color values

HEX#98AB2F
RGBrgb(152, 171, 47)
HSLhsl(69, 57%, 43%)
HSVhsv(69, 73%, 67%)
CMYKcmyk(11.1%, 0%, 72.5%, 32.9%)
CIE-LABlab(66.53, -22.92, 57.95)
CIE-LCHlch(66.53, 62.32, 111.58°)
OKLaboklab(70.36% -0.0684 0.1289)
OKLCHoklch(70.36% 0.146 118)
XYZxyz(28.0255, 36.0067, 8.1624)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2F #422FAB
analogous
#AB802F #98AB2F #5AAB2F
triadic
#98AB2F #2F98AB #AB2F98
tetradic
#98AB2F #2FAB80 #422FAB #AB2F5A
square
#98AB2F #2FAB80 #422FAB #AB2F5A
split-complementary
#98AB2F #2F5AAB #802FAB
monochromatic
#434B15 #6D7B22 #98AB2F #B9CD4A #CCDA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AB2F#FFFFFF#000000##000000
##98AB2F1.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)
#B6A218
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab2f;
/* rgb */ color: rgb(152, 171, 47);
/* oklch */ color: oklch(70.4% 0.146 118.0);
Tailwind
colors: {
  custom: {
    50: '#bac470',
    500: '#98ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2f;
$custom-light: #bac470;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2f",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 69.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.14589,
    "h": 118
  },
  "luminance": 0.36006
}

Semantic roles & 50–950 ramp

primary
#98AB2F
secondary
#7F73C3
accent
#48E05F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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