#98AD2D#98AD2D

#98AD2D is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.8% C 0.149 H 118.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#98AD2D
RGBrgb(152, 173, 45)
HSLhsl(70, 59%, 43%)
HSVhsv(70, 74%, 68%)
CMYKcmyk(12.1%, 0%, 74%, 32.2%)
CIE-LABlab(67.09, -24.01, 59.21)
CIE-LCHlch(67.09, 63.89, 112.07°)
OKLaboklab(70.81% -0.0716 0.1312)
OKLCHoklch(70.81% 0.149 118.6)
XYZxyz(28.3667, 36.7522, 8.0816)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD2D #422DAD
analogous
#AD822D #98AD2D #58AD2D
triadic
#98AD2D #2D98AD #AD2D98
tetradic
#98AD2D #2DAD82 #422DAD #AD2D58
square
#98AD2D #2DAD82 #422DAD #AD2D58
split-complementary
#98AD2D #2D58AD #822DAD
monochromatic
#434C14 #6D7C20 #98AD2D #B9CF48 #CCDC78

Accessibility & contrast

On white

2.51
#98AD2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#98AD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD2D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD2D#FFFFFF#000000##000000
##98AD2D1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A313
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#A1A395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad2d;
/* rgb */ color: rgb(152, 173, 45);
/* oklch */ color: oklch(70.8% 0.149 118.6);
Tailwind
colors: {
  custom: {
    50: '#bac56f',
    500: '#98ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #98ad2d;
$custom-light: #bac56f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad2d",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 69.844,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70809,
    "c": 0.14943,
    "h": 118.6
  },
  "luminance": 0.36752
}

Semantic roles & 50–950 ramp

primary
#98AD2D
secondary
#7F72C4
accent
#46E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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