#98AA27#98AA27

#98AA27 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.149 H 117.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98AA27
RGBrgb(152, 170, 39)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(10.6%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.19, -22.81, 60.36)
CIE-LCHlch(66.19, 64.53, 110.70°)
OKLaboklab(70.08% -0.0688 0.1326)
OKLCHoklch(70.08% 0.149 117.4)
XYZxyz(27.6905, 35.5717, 7.3263)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA27 #3927AA
analogous
#AA7A27 #98AA27 #56AA27
triadic
#98AA27 #2798AA #AA2798
tetradic
#98AA27 #27AA7A #3927AA #AA2756
square
#98AA27 #27AA7A #3927AA #AA2756
split-complementary
#98AA27 #2756AA #7A27AA
monochromatic
#3F4610 #6B781C #98AA27 #BED23C #CEDE6E

Accessibility & contrast

On white

2.59
#98AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#98AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA27
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA27#FFFFFF#000000##000000
##98AA271.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#A2A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa27;
/* rgb */ color: rgb(152, 170, 39);
/* oklch */ color: oklch(70.1% 0.149 117.4);
Tailwind
colors: {
  custom: {
    50: '#bac36c',
    500: '#98aa27',
    950: '#000000',
  },
}
SCSS
$custom: #98aa27;
$custom-light: #bac36c;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa27",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 68.244,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.14935,
    "h": 117.4
  },
  "luminance": 0.35571
}

Semantic roles & 50–950 ramp

primary
#98AA27
secondary
#7569C4
accent
#42E659
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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