#98AE27#98AE27

#98AE27 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.0% C 0.154 H 118.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#98AE27
RGBrgb(152, 174, 39)
HSLhsl(70, 63%, 42%)
HSVhsv(70, 78%, 68%)
CMYKcmyk(12.6%, 0%, 77.6%, 31.8%)
CIE-LABlab(67.35, -24.78, 61.43)
CIE-LCHlch(67.35, 66.24, 111.97°)
OKLaboklab(71.01% -0.0742 0.1348)
OKLCHoklch(71.01% 0.154 118.8)
XYZxyz(28.4518, 37.0942, 7.5801)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE27 #3D27AE
analogous
#AE8127 #98AE27 #55AE27
triadic
#98AE27 #2798AE #AE2798
tetradic
#98AE27 #27AE81 #3D27AE #AE2755
square
#98AE27 #27AE81 #3D27AE #AE2755
split-complementary
#98AE27 #2755AE #8127AE
monochromatic
#414A11 #6C7C1C #98AE27 #BBD43E #CDDF70

Accessibility & contrast

On white

2.49
#98AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#98AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE27
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE27#FFFFFF#000000##000000
##98AE271.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae27;
/* rgb */ color: rgb(152, 174, 39);
/* oklch */ color: oklch(71.0% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#bac66d',
    500: '#98ae27',
    950: '#000000',
  },
}
SCSS
$custom: #98ae27;
$custom-light: #bac66d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae27",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 69.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71006,
    "c": 0.15391,
    "h": 118.8
  },
  "luminance": 0.37094
}

Semantic roles & 50–950 ramp

primary
#98AE27
secondary
#7A6BC6
accent
#41E65C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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