#98AB30#98AB30

#98AB30 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.145 H 118.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#98AB30
RGBrgb(152, 171, 48)
HSLhsl(69, 56%, 43%)
HSVhsv(69, 72%, 67%)
CMYKcmyk(11.1%, 0%, 71.9%, 32.9%)
CIE-LABlab(66.53, -22.86, 57.60)
CIE-LCHlch(66.53, 61.97, 111.65°)
OKLaboklab(70.36% -0.0682 0.1283)
OKLCHoklch(70.36% 0.145 118)
XYZxyz(28.0459, 36.0149, 8.2698)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB30 #4330AB
analogous
#AB8030 #98AB30 #5BAB30
triadic
#98AB30 #3098AB #AB3098
tetradic
#98AB30 #30AB80 #4330AB #AB305B
square
#98AB30 #30AB80 #4330AB #AB305B
split-complementary
#98AB30 #305BAB #8030AB
monochromatic
#434B15 #6E7B23 #98AB30 #B9CD4C #CBDA7B

Accessibility & contrast

On white

2.56
#98AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#98AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB30
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB30#FFFFFF#000000##000000
##98AB301.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21A
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab30;
/* rgb */ color: rgb(152, 171, 48);
/* oklch */ color: oklch(70.4% 0.145 118.0);
Tailwind
colors: {
  custom: {
    50: '#b9c471',
    500: '#98ab30',
    950: '#000000',
  },
}
SCSS
$custom: #98ab30;
$custom-light: #b9c471;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab30",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 69.268,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70365,
    "c": 0.14526,
    "h": 118
  },
  "luminance": 0.36015
}

Semantic roles & 50–950 ramp

primary
#98AB30
secondary
#8074C3
accent
#48DF60
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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