#998336#998336

#998336 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.100 H 93.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#998336
RGBrgb(153, 131, 54)
HSLhsl(47, 48%, 41%)
HSVhsv(47, 65%, 60%)
CMYKcmyk(0%, 14.4%, 64.7%, 40%)
CIE-LABlab(55.35, -0.93, 43.57)
CIE-LCHlch(55.35, 43.58, 91.22°)
OKLaboklab(61.48% -0.0057 0.0996)
OKLCHoklch(61.48% 0.1 93.3)
XYZxyz(21.9200, 23.2724, 6.8267)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998336 #364C99
analogous
#995236 #998336 #7D9936
triadic
#998336 #369983 #833699
tetradic
#998336 #369952 #364C99 #99367D
square
#998336 #369952 #364C99 #99367D
split-complementary
#998336 #367D99 #523699
monochromatic
#3F3616 #6C5C26 #998336 #C0A64C #D0BD7A

Accessibility & contrast

On white

3.71
#998336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#998336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998336
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998336#FFFFFF#000000##000000
##9983361.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812D
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#A57972
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #998336;
/* rgb */ color: rgb(153, 131, 54);
/* oklch */ color: oklch(61.5% 0.100 93.3);
Tailwind
colors: {
  custom: {
    50: '#baa670',
    500: '#998336',
    950: '#000000',
  },
}
SCSS
$custom: #998336;
$custom-light: #baa670;
$custom-dark: #000000;
JSON
{
  "hex": "#998336",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 46.667,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.09975,
    "h": 93.3
  },
  "luminance": 0.23271
}

Semantic roles & 50–950 ramp

primary
#998336
secondary
#7282B9
accent
#6ED750
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #998336

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

Preview Lab → · Contrast checker → · Palette generator →

#998336 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva