#98A15E#98A15E

#98A15E is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.091 H 115.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#98A15E
RGBrgb(152, 161, 94)
HSLhsl(68, 26%, 50%)
HSVhsv(68, 42%, 63%)
CMYKcmyk(5.6%, 0%, 41.6%, 36.9%)
CIE-LABlab(64.14, -13.87, 33.76)
CIE-LCHlch(64.14, 36.50, 112.34°)
OKLaboklab(68.6% -0.0384 0.082)
OKLCHoklch(68.6% 0.091 115.1)
XYZxyz(27.7144, 32.9736, 15.4921)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A15E #675EA1
analogous
#A1895E #98A15E #76A15E
triadic
#98A15E #5E98A1 #A15E98
tetradic
#98A15E #5EA189 #675EA1 #A15E76
square
#98A15E #5EA189 #675EA1 #A15E76
split-complementary
#98A15E #5E76A1 #895EA1
monochromatic
#4F5431 #747A47 #98A15E #B1B885 #C9CEAB

Accessibility & contrast

On white

2.77
#98A15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#98A15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A15E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A15E#FFFFFF#000000##000000
##98A15E1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B59
Deuteranopia (green-blind)
#A99C61
Tritanopia (blue-blind)
#9F9A91
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a15e;
/* rgb */ color: rgb(152, 161, 94);
/* oklch */ color: oklch(68.6% 0.091 115.1);
Tailwind
colors: {
  custom: {
    50: '#b7bc8d',
    500: '#98a15e',
    950: '#000000',
  },
}
SCSS
$custom: #98a15e;
$custom-light: #b7bc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a15e",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 94
  },
  "hsl": {
    "h": 68.06,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.686,
    "c": 0.09059,
    "h": 115.1
  },
  "luminance": 0.32973
}

Semantic roles & 50–950 ramp

primary
#98A15E
secondary
#A29EBC
accent
#65C372
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A15E

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

Preview Lab → · Contrast checker → · Palette generator →

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