#98AD27#98AD27

#98AD27 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.153 H 118.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#98AD27
RGBrgb(152, 173, 39)
HSLhsl(69, 63%, 42%)
HSVhsv(69, 77%, 68%)
CMYKcmyk(12.1%, 0%, 77.5%, 32.2%)
CIE-LABlab(67.06, -24.29, 61.16)
CIE-LCHlch(67.06, 65.81, 111.66°)
OKLaboklab(70.77% -0.0729 0.1342)
OKLCHoklch(70.77% 0.153 118.5)
XYZxyz(28.2593, 36.7093, 7.5159)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD27 #3C27AD
analogous
#AD7F27 #98AD27 #55AD27
triadic
#98AD27 #2798AD #AD2798
tetradic
#98AD27 #27AD7F #3C27AD #AD2755
square
#98AD27 #27AD7F #3C27AD #AD2755
split-complementary
#98AD27 #2755AD #7F27AD
monochromatic
#404910 #6C7B1C #98AD27 #BCD33E #CDDF70

Accessibility & contrast

On white

2.52
#98AD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#98AD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD27
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD27#FFFFFF#000000##000000
##98AD271.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad27;
/* rgb */ color: rgb(152, 173, 39);
/* oklch */ color: oklch(70.8% 0.153 118.5);
Tailwind
colors: {
  custom: {
    50: '#bac56d',
    500: '#98ad27',
    950: '#000000',
  },
}
SCSS
$custom: #98ad27;
$custom-light: #bac56d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad27",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 69.403,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.15276,
    "h": 118.5
  },
  "luminance": 0.36709
}

Semantic roles & 50–950 ramp

primary
#98AD27
secondary
#796AC6
accent
#42E65B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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