#998D58#998D58

#998D58 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.073 H 97.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#998D58
RGBrgb(153, 141, 88)
HSLhsl(49, 27%, 47%)
HSVhsv(49, 42%, 60%)
CMYKcmyk(0%, 7.8%, 42.5%, 40%)
CIE-LABlab(58.53, -3.39, 29.86)
CIE-LCHlch(58.53, 30.05, 96.48°)
OKLaboklab(64.14% -0.0089 0.0729)
OKLCHoklch(64.14% 0.073 97)
XYZxyz(24.4237, 26.5274, 13.0644)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D58 #586499
analogous
#996D58 #998D58 #859958
triadic
#998D58 #58998D #8D5899
tetradic
#998D58 #58996D #586499 #995885
square
#998D58 #58996D #586499 #995885
split-complementary
#998D58 #588599 #6D5899
monochromatic
#4B452B #726942 #998D58 #B3A97B #C9C2A2

Accessibility & contrast

On white

3.33
#998D58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#998D58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D58
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D58#FFFFFF#000000##000000
##998D581.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A54
Deuteranopia (green-blind)
#9A8F5A
Tritanopia (blue-blind)
#A28680
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d58;
/* rgb */ color: rgb(153, 141, 88);
/* oklch */ color: oklch(64.1% 0.073 97.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae88',
    500: '#998d58',
    950: '#000000',
  },
}
SCSS
$custom: #998d58;
$custom-light: #b8ae88;
$custom-dark: #000000;
JSON
{
  "hex": "#998d58",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 88
  },
  "hsl": {
    "h": 48.923,
    "s": 26.971,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.0734,
    "h": 97
  },
  "luminance": 0.26527
}

Semantic roles & 50–950 ramp

primary
#998D58
secondary
#969CB7
accent
#76C364
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100B
muted
#807F7C

Preview Lab

Preview with #998D58

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

Preview Lab → · Contrast checker → · Palette generator →

#998D58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva