#998D32#998D32

#998D32 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.111 H 101.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#998D32
RGBrgb(153, 141, 50)
HSLhsl(53, 51%, 40%)
HSVhsv(53, 67%, 60%)
CMYKcmyk(0%, 7.8%, 67.3%, 40%)
CIE-LABlab(58.09, -6.69, 48.30)
CIE-LCHlch(58.09, 48.76, 97.89°)
OKLaboklab(63.64% -0.0227 0.109)
OKLCHoklch(63.64% 0.111 101.8)
XYZxyz(23.2384, 26.0533, 6.8217)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D32 #323E99
analogous
#995A32 #998D32 #719932
triadic
#998D32 #32998D #8D3299
tetradic
#998D32 #32995A #323E99 #993271
square
#998D32 #32995A #323E99 #993271
split-complementary
#998D32 #327199 #5A3299
monochromatic
#3D3814 #6B6223 #998D32 #C2B446 #D2C774

Accessibility & contrast

On white

3.38
#998D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#998D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D32
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D32#FFFFFF#000000##000000
##998D321.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d32;
/* rgb */ color: rgb(153, 141, 50);
/* oklch */ color: oklch(63.6% 0.111 101.8);
Tailwind
colors: {
  custom: {
    50: '#baae6f',
    500: '#998d32',
    950: '#000000',
  },
}
SCSS
$custom: #998d32;
$custom-light: #baae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#998d32",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 53.01,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6364,
    "c": 0.11132,
    "h": 101.8
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#998D32
secondary
#6D76BA
accent
#5EDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998D32

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

Preview Lab → · Contrast checker → · Palette generator →

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