#998F62#998F62

#998F62 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.063 H 97.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#998F62
RGBrgb(153, 143, 98)
HSLhsl(49, 22%, 49%)
HSVhsv(49, 36%, 60%)
CMYKcmyk(0%, 6.5%, 35.9%, 40%)
CIE-LABlab(59.25, -3.30, 25.32)
CIE-LCHlch(59.25, 25.54, 97.42°)
OKLaboklab(64.76% -0.0079 0.0628)
OKLCHoklch(64.76% 0.063 97.1)
XYZxyz(25.1643, 27.2998, 15.4967)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F62 #626C99
analogous
#997462 #998F62 #889962
triadic
#998F62 #62998F #8F6299
tetradic
#998F62 #629974 #626C99 #996288
square
#998F62 #629974 #626C99 #996288
split-complementary
#998F62 #628899 #746299
monochromatic
#4E4932 #746C4A #998F62 #B2AA86 #CAC4AC

Accessibility & contrast

On white

3.25
#998F62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#998F62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F62
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F62#FFFFFF#000000##000000
##998F621.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988D5F
Deuteranopia (green-blind)
#9B9064
Tritanopia (blue-blind)
#A18983
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #998f62;
/* rgb */ color: rgb(153, 143, 98);
/* oklch */ color: oklch(64.8% 0.063 97.1);
Tailwind
colors: {
  custom: {
    50: '#b8af8f',
    500: '#998f62',
    950: '#000000',
  },
}
SCSS
$custom: #998f62;
$custom-light: #b8af8f;
$custom-dark: #000000;
JSON
{
  "hex": "#998f62",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 98
  },
  "hsl": {
    "h": 49.091,
    "s": 21.912,
    "l": 49.216
  },
  "oklch": {
    "l": 0.64758,
    "c": 0.06329,
    "h": 97.1
  },
  "luminance": 0.27299
}

Semantic roles & 50–950 ramp

primary
#998F62
secondary
#9FA3B8
accent
#79BE69
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F62

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

Preview Lab → · Contrast checker → · Palette generator →

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