#98A140#98A140

#98A140 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.121 H 114.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#98A140
RGBrgb(152, 161, 64)
HSLhsl(66, 43%, 44%)
HSVhsv(66, 60%, 63%)
CMYKcmyk(5.6%, 0%, 60.2%, 36.9%)
CIE-LABlab(63.78, -16.76, 48.15)
CIE-LCHlch(63.78, 50.98, 109.19°)
OKLaboklab(68.2% -0.0495 0.1108)
OKLCHoklch(68.2% 0.121 114.1)
XYZxyz(26.6198, 32.5358, 9.7272)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A140 #4940A1
analogous
#A17A40 #98A140 #68A140
triadic
#98A140 #4098A1 #A14098
tetradic
#98A140 #40A17A #4940A1 #A14068
square
#98A140 #40A17A #4940A1 #A14068
split-complementary
#98A140 #4068A1 #7A40A1
monochromatic
#45491D #6F752F #98A140 #B6BF5F #CAD18B

Accessibility & contrast

On white

2.80
#98A140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#98A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A140
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A140#FFFFFF#000000##000000
##98A1401.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#AC9B46
Tritanopia (blue-blind)
#A1988C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a140;
/* rgb */ color: rgb(152, 161, 64);
/* oklch */ color: oklch(68.2% 0.121 114.1);
Tailwind
colors: {
  custom: {
    50: '#b9bc79',
    500: '#98a140',
    950: '#000000',
  },
}
SCSS
$custom: #98a140;
$custom-light: #b9bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#98a140",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 65.567,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.682,
    "c": 0.12134,
    "h": 114.1
  },
  "luminance": 0.32535
}

Semantic roles & 50–950 ramp

primary
#98A140
secondary
#8781BC
accent
#55D361
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98A140

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

Preview Lab → · Contrast checker → · Palette generator →

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