#98A130#98A130

#98A130 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.134 H 113.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#98A130
RGBrgb(152, 161, 48)
HSLhsl(65, 54%, 41%)
HSVhsv(65, 70%, 63%)
CMYKcmyk(5.6%, 0%, 70.2%, 36.9%)
CIE-LABlab(63.66, -17.82, 54.76)
CIE-LCHlch(63.66, 57.59, 108.03°)
OKLaboklab(68.06% -0.0542 0.1223)
OKLCHoklch(68.06% 0.134 113.9)
XYZxyz(26.2280, 32.3791, 7.6639)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A130 #3930A1
analogous
#A17130 #98A130 #5FA130
triadic
#98A130 #3098A1 #A13098
tetradic
#98A130 #30A171 #3930A1 #A1305F
square
#98A130 #30A171 #3930A1 #A1305F
split-complementary
#98A130 #305FA1 #7130A1
monochromatic
#3F4314 #6B7222 #98A130 #BEC846 #CED675

Accessibility & contrast

On white

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

On black

7.48
#98A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A130
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A130#FFFFFF#000000##000000
##98A1301.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#A2978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a130;
/* rgb */ color: rgb(152, 161, 48);
/* oklch */ color: oklch(68.1% 0.134 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc70',
    500: '#98a130',
    950: '#000000',
  },
}
SCSS
$custom: #98a130;
$custom-light: #b9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a130",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 64.779,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68056,
    "c": 0.13375,
    "h": 113.9
  },
  "luminance": 0.32379
}

Semantic roles & 50–950 ramp

primary
#98A130
secondary
#756FBE
accent
#4ADD56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A130

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

Preview Lab → · Contrast checker → · Palette generator →

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