#98A126#98A126

#98A126 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.140 H 113.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98A126
RGBrgb(152, 161, 38)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5.6%, 0%, 76.4%, 36.9%)
CIE-LABlab(63.59, -18.32, 58.28)
CIE-LCHlch(63.59, 61.10, 107.45°)
OKLaboklab(67.99% -0.0565 0.128)
OKLCHoklch(67.99% 0.14 113.8)
XYZxyz(26.0444, 32.3056, 6.6970)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A126 #2F26A1
analogous
#A16D26 #98A126 #5BA126
triadic
#98A126 #2698A1 #A12698
tetradic
#98A126 #26A16D #2F26A1 #A1265B
square
#98A126 #26A16D #2F26A1 #A1265B
split-complementary
#98A126 #265BA1 #6D26A1
monochromatic
#3B3E0F #696F1A #98A126 #C4CF35 #D2DB66

Accessibility & contrast

On white

2.81
#98A126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A126
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A126#FFFFFF#000000##000000
##98A1261.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9907
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a126;
/* rgb */ color: rgb(152, 161, 38);
/* oklch */ color: oklch(68.0% 0.140 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6b',
    500: '#98a126',
    950: '#000000',
  },
}
SCSS
$custom: #98a126;
$custom-light: #babc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a126",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 64.39,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67988,
    "c": 0.13988,
    "h": 113.8
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#98A126
secondary
#6962C1
accent
#43E54F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A126

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

Preview Lab → · Contrast checker → · Palette generator →

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