#98A726#98A726

#98A726 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.4% C 0.146 H 116.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#98A726
RGBrgb(152, 167, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9%, 0%, 77.2%, 34.5%)
CIE-LABlab(65.32, -21.36, 59.88)
CIE-LCHlch(65.32, 63.57, 109.63°)
OKLaboklab(69.37% -0.0649 0.1314)
OKLCHoklch(69.37% 0.147 116.3)
XYZxyz(27.1182, 34.4532, 7.0549)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A726 #3526A7
analogous
#A77626 #98A726 #57A726
triadic
#98A726 #2698A7 #A72698
tetradic
#98A726 #26A776 #3526A7 #A72657
square
#98A726 #26A776 #3526A7 #A72657
split-complementary
#98A726 #2657A7 #7626A7
monochromatic
#3D430F #6B751B #98A726 #C0D238 #D0DD6A

Accessibility & contrast

On white

2.66
#98A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#98A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A726
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A726#FFFFFF#000000##000000
##98A7261.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E02
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a726;
/* rgb */ color: rgb(152, 167, 38);
/* oklch */ color: oklch(69.4% 0.146 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac16b',
    500: '#98a726',
    950: '#000000',
  },
}
SCSS
$custom: #98a726;
$custom-light: #bac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a726",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 66.977,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69374,
    "c": 0.1465,
    "h": 116.3
  },
  "luminance": 0.34453
}

Semantic roles & 50–950 ramp

primary
#98A726
secondary
#7065C3
accent
#42E655
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A726

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

Preview Lab → · Contrast checker → · Palette generator →

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