#98A719#98A719

#98A719 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.152 H 116.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#98A719
RGBrgb(152, 167, 25)
HSLhsl(66, 74%, 38%)
HSVhsv(66, 85%, 65%)
CMYKcmyk(9%, 0%, 85%, 34.5%)
CIE-LABlab(65.27, -21.83, 63.43)
CIE-LCHlch(65.27, 67.08, 108.99°)
OKLaboklab(69.31% -0.0671 0.1367)
OKLCHoklch(69.31% 0.152 116.1)
XYZxyz(26.9439, 34.3834, 6.1368)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A719 #2819A7
analogous
#A76F19 #98A719 #51A719
triadic
#98A719 #1998A7 #A71998
tetradic
#98A719 #19A76F #2819A7 #A71951
square
#98A719 #19A76F #2819A7 #A71951
split-complementary
#98A719 #1951A7 #6F19A7
monochromatic
#373D09 #687211 #98A719 #C8DC21 #D6E655

Accessibility & contrast

On white

2.67
#98A719 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#98A719 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A719
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A719#FFFFFF#000000##000000
##98A7191.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F29
Tritanopia (blue-blind)
#A29D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a719;
/* rgb */ color: rgb(152, 167, 25);
/* oklch */ color: oklch(69.3% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#bac166',
    500: '#98a719',
    950: '#000000',
  },
}
SCSS
$custom: #98a719;
$custom-light: #bac166;
$custom-dark: #000000;
JSON
{
  "hex": "#98a719",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 25
  },
  "hsl": {
    "h": 66.338,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.15228,
    "h": 116.1
  },
  "luminance": 0.34383
}

Semantic roles & 50–950 ramp

primary
#98A719
secondary
#6053C8
accent
#37F14B
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A719

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

Preview Lab → · Contrast checker → · Palette generator →

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