#98A131#98A131

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

Color values

HEX#98A131
RGBrgb(152, 161, 49)
HSLhsl(65, 53%, 41%)
HSVhsv(65, 70%, 63%)
CMYKcmyk(5.6%, 0%, 69.6%, 36.9%)
CIE-LABlab(63.66, -17.76, 54.38)
CIE-LCHlch(63.66, 57.21, 108.09°)
OKLaboklab(68.06% -0.0539 0.1217)
OKLCHoklch(68.06% 0.133 113.9)
XYZxyz(26.2489, 32.3874, 7.7738)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A131 #3A31A1
analogous
#A17231 #98A131 #60A131
triadic
#98A131 #3198A1 #A13198
tetradic
#98A131 #31A172 #3A31A1 #A13160
square
#98A131 #31A172 #3A31A1 #A13160
split-complementary
#98A131 #3160A1 #7231A1
monochromatic
#3F4314 #6C7223 #98A131 #BDC748 #CED677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A131#FFFFFF#000000##000000
##98A1311.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)
#AD991F
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#A2978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a131;
/* rgb */ color: rgb(152, 161, 49);
/* oklch */ color: oklch(68.1% 0.133 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc70',
    500: '#98a131',
    950: '#000000',
  },
}
SCSS
$custom: #98a131;
$custom-light: #b9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a131",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 64.821,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.13307,
    "h": 113.9
  },
  "luminance": 0.32387
}

Semantic roles & 50–950 ramp

primary
#98A131
secondary
#7670BE
accent
#4BDD57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A131

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

Preview Lab → · Contrast checker → · Palette generator →

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