#98AB27#98AB27

#98AB27 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.150 H 117.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#98AB27
RGBrgb(152, 171, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.1%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.48, -23.31, 60.63)
CIE-LCHlch(66.48, 64.95, 111.03°)
OKLaboklab(70.31% -0.0702 0.1331)
OKLCHoklch(70.31% 0.15 117.8)
XYZxyz(27.8787, 35.9480, 7.3891)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB27 #3A27AB
analogous
#AB7C27 #98AB27 #56AB27
triadic
#98AB27 #2798AB #AB2798
tetradic
#98AB27 #27AB7C #3A27AB #AB2756
square
#98AB27 #27AB7C #3A27AB #AB2756
split-complementary
#98AB27 #2756AB #7C27AB
monochromatic
#3F4710 #6C791C #98AB27 #BDD33D #CEDE6E

Accessibility & contrast

On white

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

On black

8.19
#98AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB27
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB27#FFFFFF#000000##000000
##98AB271.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab27;
/* rgb */ color: rgb(152, 171, 39);
/* oklch */ color: oklch(70.3% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#bac36c',
    500: '#98ab27',
    950: '#000000',
  },
}
SCSS
$custom: #98ab27;
$custom-light: #bac36c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab27",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 68.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.15048,
    "h": 117.8
  },
  "luminance": 0.35948
}

Semantic roles & 50–950 ramp

primary
#98AB27
secondary
#7669C5
accent
#42E659
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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