#998337#998337

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

Color values

HEX#998337
RGBrgb(153, 131, 55)
HSLhsl(47, 47%, 41%)
HSVhsv(47, 64%, 60%)
CMYKcmyk(0%, 14.4%, 64.1%, 40%)
CIE-LABlab(55.36, -0.86, 43.10)
CIE-LCHlch(55.36, 43.11, 91.14°)
OKLaboklab(61.5% -0.0054 0.0988)
OKLCHoklch(61.5% 0.099 93.1)
XYZxyz(21.9438, 23.2819, 6.9517)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998337 #374D99
analogous
#995237 #998337 #7E9937
triadic
#998337 #379983 #833799
tetradic
#998337 #379952 #374D99 #99377E
square
#998337 #379952 #374D99 #99377E
split-complementary
#998337 #377E99 #523799
monochromatic
#3F3617 #6C5C27 #998337 #BFA64E #D0BD7B

Accessibility & contrast

On white

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

On black

5.66
#998337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998337
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998337#FFFFFF#000000##000000
##9983371.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998337;
/* rgb */ color: rgb(153, 131, 55);
/* oklch */ color: oklch(61.5% 0.099 93.1);
Tailwind
colors: {
  custom: {
    50: '#baa671',
    500: '#998337',
    950: '#000000',
  },
}
SCSS
$custom: #998337;
$custom-light: #baa671;
$custom-dark: #000000;
JSON
{
  "hex": "#998337",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 46.531,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.0989,
    "h": 93.1
  },
  "luminance": 0.23281
}

Semantic roles & 50–950 ramp

primary
#998337
secondary
#7383B9
accent
#6FD751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #998337

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

Preview Lab → · Contrast checker → · Palette generator →

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