#98AD2E#98AD2E

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

Color values

HEX#98AD2E
RGBrgb(152, 173, 46)
HSLhsl(70, 58%, 43%)
HSVhsv(70, 73%, 68%)
CMYKcmyk(12.1%, 0%, 73.4%, 32.2%)
CIE-LABlab(67.10, -23.96, 58.86)
CIE-LCHlch(67.10, 63.55, 112.15°)
OKLaboklab(70.82% -0.0714 0.1306)
OKLCHoklch(70.82% 0.149 118.7)
XYZxyz(28.3862, 36.7600, 8.1842)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD2E #432EAD
analogous
#AD822E #98AD2E #59AD2E
triadic
#98AD2E #2E98AD #AD2E98
tetradic
#98AD2E #2EAD82 #432EAD #AD2E59
square
#98AD2E #2EAD82 #432EAD #AD2E59
split-complementary
#98AD2E #2E59AD #822EAD
monochromatic
#434C14 #6E7D21 #98AD2E #B9CF49 #CBDC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AD2E#FFFFFF#000000##000000
##98AD2E1.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)
#B8A315
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#A1A395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad2e;
/* rgb */ color: rgb(152, 173, 46);
/* oklch */ color: oklch(70.8% 0.149 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac570',
    500: '#98ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #98ad2e;
$custom-light: #bac570;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad2e",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 69.921,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70816,
    "c": 0.14884,
    "h": 118.7
  },
  "luminance": 0.3676
}

Semantic roles & 50–950 ramp

primary
#98AD2E
secondary
#8073C4
accent
#47E160
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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