#98AA1D#98AA1D

#98AA1D is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.0% C 0.154 H 117.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#98AA1D
RGBrgb(152, 170, 29)
HSLhsl(68, 71%, 39%)
HSVhsv(68, 83%, 67%)
CMYKcmyk(10.6%, 0%, 82.9%, 33.3%)
CIE-LABlab(66.15, -23.20, 63.20)
CIE-LCHlch(66.15, 67.33, 110.15°)
OKLaboklab(70.03% -0.0706 0.1369)
OKLCHoklch(70.03% 0.154 117.3)
XYZxyz(27.5461, 35.5139, 6.5659)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA1D #2F1DAA
analogous
#AA761D #98AA1D #51AA1D
triadic
#98AA1D #1D98AA #AA1D98
tetradic
#98AA1D #1DAA76 #2F1DAA #AA1D51
square
#98AA1D #1DAA76 #2F1DAA #AA1D51
split-complementary
#98AA1D #1D51AA #761DAA
monochromatic
#3B410B #697614 #98AA1D #C4DB2A #D2E45E

Accessibility & contrast

On white

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

On black

8.10
#98AA1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA1D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA1D#FFFFFF#000000##000000
##98AA1D1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A22C
Tritanopia (blue-blind)
#A2A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa1d;
/* rgb */ color: rgb(152, 170, 29);
/* oklch */ color: oklch(70.0% 0.154 117.3);
Tailwind
colors: {
  custom: {
    50: '#bac368',
    500: '#98aa1d',
    950: '#000000',
  },
}
SCSS
$custom: #98aa1d;
$custom-light: #bac368;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa1d",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 67.66,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70025,
    "c": 0.15401,
    "h": 117.3
  },
  "luminance": 0.35514
}

Semantic roles & 50–950 ramp

primary
#98AA1D
secondary
#695BC8
accent
#3AEE51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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