#998E4A#998E4A

#998E4A is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.090 H 100.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#998E4A
RGBrgb(153, 142, 74)
HSLhsl(52, 35%, 45%)
HSVhsv(52, 52%, 60%)
CMYKcmyk(0%, 7.2%, 51.6%, 40%)
CIE-LABlab(58.62, -5.38, 37.38)
CIE-LCHlch(58.62, 37.76, 98.19°)
OKLaboklab(64.14% -0.0161 0.0887)
OKLCHoklch(64.14% 0.09 100.3)
XYZxyz(24.0466, 26.6136, 10.3475)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E4A #4A5599
analogous
#99674A #998E4A #7D994A
triadic
#998E4A #4A998E #8E4A99
tetradic
#998E4A #4A9967 #4A5599 #994A7D
square
#998E4A #4A9967 #4A5599 #994A7D
split-complementary
#998E4A #4A7D99 #674A99
monochromatic
#474122 #706836 #998E4A #B7AC6A #CBC393

Accessibility & contrast

On white

3.32
#998E4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#998E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E4A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E4A#FFFFFF#000000##000000
##998E4A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A44
Deuteranopia (green-blind)
#9C8F4D
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998e4a;
/* rgb */ color: rgb(153, 142, 74);
/* oklch */ color: oklch(64.1% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#b9ae7e',
    500: '#998e4a',
    950: '#000000',
  },
}
SCSS
$custom: #998e4a;
$custom-light: #b9ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#998e4a",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 51.646,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.09009,
    "h": 100.3
  },
  "luminance": 0.26613
}

Semantic roles & 50–950 ramp

primary
#998E4A
secondary
#888FB7
accent
#6CCB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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