#98AC27#98AC27

#98AC27 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.152 H 118.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#98AC27
RGBrgb(152, 172, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.6%, 0%, 77.3%, 32.5%)
CIE-LABlab(66.77, -23.80, 60.90)
CIE-LCHlch(66.77, 65.38, 111.35°)
OKLaboklab(70.54% -0.0715 0.1337)
OKLCHoklch(70.54% 0.152 118.2)
XYZxyz(28.0683, 36.3272, 7.4523)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC27 #3B27AC
analogous
#AC7E27 #98AC27 #56AC27
triadic
#98AC27 #2798AC #AC2798
tetradic
#98AC27 #27AC7E #3B27AC #AC2756
square
#98AC27 #27AC7E #3B27AC #AC2756
split-complementary
#98AC27 #2756AC #7E27AC
monochromatic
#404810 #6C7A1C #98AC27 #BDD33D #CEDE6F

Accessibility & contrast

On white

2.54
#98AC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#98AC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC27
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC27#FFFFFF#000000##000000
##98AC271.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A201
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac27;
/* rgb */ color: rgb(152, 172, 39);
/* oklch */ color: oklch(70.5% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#bac46d',
    500: '#98ac27',
    950: '#000000',
  },
}
SCSS
$custom: #98ac27;
$custom-light: #bac46d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac27",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 69.023,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7054,
    "c": 0.15162,
    "h": 118.2
  },
  "luminance": 0.36327
}

Semantic roles & 50–950 ramp

primary
#98AC27
secondary
#776AC5
accent
#42E65A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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