#98A626#98A626

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

Color values

HEX#98A626
RGBrgb(152, 166, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(8.4%, 0%, 77.1%, 34.9%)
CIE-LABlab(65.03, -20.86, 59.61)
CIE-LCHlch(65.03, 63.16, 109.28°)
OKLaboklab(69.14% -0.0635 0.1308)
OKLCHoklch(69.14% 0.145 115.9)
XYZxyz(26.9357, 34.0882, 6.9941)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A626 #3426A6
analogous
#A67426 #98A626 #58A626
triadic
#98A626 #2698A6 #A62698
tetradic
#98A626 #26A674 #3426A6 #A62658
square
#98A626 #26A674 #3426A6 #A62658
split-complementary
#98A626 #2658A6 #7426A6
monochromatic
#3D420F #6A741B #98A626 #C1D138 #D0DD6A

Accessibility & contrast

On white

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

On black

7.82
#98A626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A626
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A626#FFFFFF#000000##000000
##98A6261.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a626;
/* rgb */ color: rgb(152, 166, 38);
/* oklch */ color: oklch(69.1% 0.145 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac06b',
    500: '#98a626',
    950: '#000000',
  },
}
SCSS
$custom: #98a626;
$custom-light: #bac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a626",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 66.563,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.14538,
    "h": 115.9
  },
  "luminance": 0.34088
}

Semantic roles & 50–950 ramp

primary
#98A626
secondary
#6F65C3
accent
#42E654
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A626

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

Preview Lab → · Contrast checker → · Palette generator →

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