#998D31#998D31

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

Color values

HEX#998D31
RGBrgb(153, 141, 49)
HSLhsl(53, 51%, 40%)
HSVhsv(53, 68%, 60%)
CMYKcmyk(0%, 7.8%, 68%, 40%)
CIE-LABlab(58.08, -6.75, 48.73)
CIE-LCHlch(58.08, 49.19, 97.89°)
OKLaboklab(63.63% -0.023 0.1097)
OKLCHoklch(63.63% 0.112 101.8)
XYZxyz(23.2171, 26.0448, 6.7093)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D31 #313D99
analogous
#995931 #998D31 #719931
triadic
#998D31 #31998D #8D3199
tetradic
#998D31 #319959 #313D99 #993171
square
#998D31 #319959 #313D99 #993171
split-complementary
#998D31 #317199 #593199
monochromatic
#3C3813 #6B6222 #998D31 #C3B444 #D2C772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D31#FFFFFF#000000##000000
##998D311.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)
#9A8925
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d31;
/* rgb */ color: rgb(153, 141, 49);
/* oklch */ color: oklch(63.6% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#baae6e',
    500: '#998d31',
    950: '#000000',
  },
}
SCSS
$custom: #998d31;
$custom-light: #baae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#998d31",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 53.077,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.1121,
    "h": 101.8
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#998D31
secondary
#6C75BA
accent
#5DDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D31

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

Preview Lab → · Contrast checker → · Palette generator →

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