#98AA28#98AA28

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

Color values

HEX#98AA28
RGBrgb(152, 170, 40)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 76%, 67%)
CMYKcmyk(10.6%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.20, -22.77, 60.05)
CIE-LCHlch(66.20, 64.22, 110.76°)
OKLaboklab(70.08% -0.0686 0.1321)
OKLCHoklch(70.08% 0.149 117.5)
XYZxyz(27.7073, 35.5784, 7.4148)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA28 #3A28AA
analogous
#AA7B28 #98AA28 #57AA28
triadic
#98AA28 #2898AA #AA2898
tetradic
#98AA28 #28AA7B #3A28AA #AA2857
square
#98AA28 #28AA7B #3A28AA #AA2857
split-complementary
#98AA28 #2857AA #7B28AA
monochromatic
#3F4711 #6C781C #98AA28 #BDD23E #CEDD6F

Accessibility & contrast

On white

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

On black

8.12
#98AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA28
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA28#FFFFFF#000000##000000
##98AA281.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98aa28;
/* rgb */ color: rgb(152, 170, 40);
/* oklch */ color: oklch(70.1% 0.149 117.5);
Tailwind
colors: {
  custom: {
    50: '#bac36d',
    500: '#98aa28',
    950: '#000000',
  },
}
SCSS
$custom: #98aa28;
$custom-light: #bac36d;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa28",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 68.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.14881,
    "h": 117.5
  },
  "luminance": 0.35578
}

Semantic roles & 50–950 ramp

primary
#98AA28
secondary
#766AC4
accent
#43E559
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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