#998D3E#998D3E

#998D3E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.101 H 100.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#998D3E
RGBrgb(153, 141, 62)
HSLhsl(52, 42%, 42%)
HSVhsv(52, 59%, 60%)
CMYKcmyk(0%, 7.8%, 59.5%, 40%)
CIE-LABlab(58.20, -5.86, 42.90)
CIE-LCHlch(58.20, 43.29, 97.78°)
OKLaboklab(63.76% -0.0189 0.0993)
OKLCHoklch(63.76% 0.101 100.8)
XYZxyz(23.5321, 26.1708, 8.3684)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D3E #3E4A99
analogous
#99603E #998D3E #78993E
triadic
#998D3E #3E998D #8D3E99
tetradic
#998D3E #3E9960 #3E4A99 #993E78
square
#998D3E #3E9960 #3E4A99 #993E78
split-complementary
#998D3E #3E7899 #603E99
monochromatic
#423D1B #6D652C #998D3E #BCAF59 #CDC484

Accessibility & contrast

On white

3.37
#998D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#998D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D3E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D3E#FFFFFF#000000##000000
##998D3E1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998936
Deuteranopia (green-blind)
#9D8E42
Tritanopia (blue-blind)
#A4847C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d3e;
/* rgb */ color: rgb(153, 141, 62);
/* oklch */ color: oklch(63.8% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#b9ae76',
    500: '#998d3e',
    950: '#000000',
  },
}
SCSS
$custom: #998d3e;
$custom-light: #b9ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#998d3e",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 52.088,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.10106,
    "h": 100.8
  },
  "luminance": 0.2617
}

Semantic roles & 50–950 ramp

primary
#998D3E
secondary
#7B83B8
accent
#66D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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