#98AD1D#98AD1D

#98AD1D is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.7% C 0.157 H 118.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#98AD1D
RGBrgb(152, 173, 29)
HSLhsl(69, 71%, 40%)
HSVhsv(69, 83%, 68%)
CMYKcmyk(12.1%, 0%, 83.2%, 32.2%)
CIE-LABlab(67.01, -24.68, 63.95)
CIE-LCHlch(67.01, 68.55, 111.10°)
OKLaboklab(70.72% -0.0747 0.1385)
OKLCHoklch(70.72% 0.157 118.3)
XYZxyz(28.1149, 36.6515, 6.7555)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD1D #321DAD
analogous
#AD7A1D #98AD1D #50AD1D
triadic
#98AD1D #1D98AD #AD1D98
tetradic
#98AD1D #1DAD7A #321DAD #AD1D50
square
#98AD1D #1DAD7A #321DAD #AD1D50
split-complementary
#98AD1D #1D50AD #7A1DAD
monochromatic
#3C440B #6A7914 #98AD1D #C2DC2C #D1E460

Accessibility & contrast

On white

2.52
#98AD1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#98AD1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD1D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD1D#FFFFFF#000000##000000
##98AD1D1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#A2A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad1d;
/* rgb */ color: rgb(152, 173, 29);
/* oklch */ color: oklch(70.7% 0.157 118.3);
Tailwind
colors: {
  custom: {
    50: '#bac569',
    500: '#98ad1d',
    950: '#000000',
  },
}
SCSS
$custom: #98ad1d;
$custom-light: #bac569;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad1d",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 29
  },
  "hsl": {
    "h": 68.75,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.15732,
    "h": 118.3
  },
  "luminance": 0.36651
}

Semantic roles & 50–950 ramp

primary
#98AD1D
secondary
#6D5DC9
accent
#3AEE54
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AD1D

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

Preview Lab → · Contrast checker → · Palette generator →

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