#98A622#98A622

#98A622 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.147 H 115.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A622
RGBrgb(152, 166, 34)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 80%, 65%)
CMYKcmyk(8.4%, 0%, 79.5%, 34.9%)
CIE-LABlab(65.01, -21.02, 60.83)
CIE-LCHlch(65.01, 64.36, 109.06°)
OKLaboklab(69.12% -0.0643 0.1327)
OKLCHoklch(69.12% 0.147 115.9)
XYZxyz(26.8746, 34.0638, 6.6723)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A622 #3022A6
analogous
#A67222 #98A622 #56A622
triadic
#98A622 #2298A6 #A62298
tetradic
#98A622 #22A672 #3022A6 #A62256
square
#98A622 #22A672 #3022A6 #A62256
split-complementary
#98A622 #2256A6 #7222A6
monochromatic
#3B400D #697318 #98A622 #C3D530 #D2DF63

Accessibility & contrast

On white

2.69
#98A622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#98A622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A622
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A622#FFFFFF#000000##000000
##98A6221.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a622;
/* rgb */ color: rgb(152, 166, 34);
/* oklch */ color: oklch(69.1% 0.147 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac06a',
    500: '#98a622',
    950: '#000000',
  },
}
SCSS
$custom: #98a622;
$custom-light: #bac06a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a622",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 66.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6912,
    "c": 0.1474,
    "h": 115.9
  },
  "luminance": 0.34063
}

Semantic roles & 50–950 ramp

primary
#98A622
secondary
#6A5FC4
accent
#3FE951
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A622

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

Preview Lab → · Contrast checker → · Palette generator →

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