#998B37#998B37

#998B37 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.105 H 99.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#998B37
RGBrgb(153, 139, 55)
HSLhsl(51, 47%, 41%)
HSVhsv(51, 64%, 60%)
CMYKcmyk(0%, 9.2%, 64.1%, 40%)
CIE-LABlab(57.57, -5.28, 45.51)
CIE-LCHlch(57.57, 45.82, 96.61°)
OKLaboklab(63.25% -0.018 0.1039)
OKLCHoklch(63.25% 0.105 99.9)
XYZxyz(23.0600, 25.5144, 7.3238)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B37 #374599
analogous
#995A37 #998B37 #769937
triadic
#998B37 #37998B #8B3799
tetradic
#998B37 #37995A #374599 #993776
square
#998B37 #37995A #374599 #993776
split-complementary
#998B37 #377699 #5A3799
monochromatic
#3F3917 #6C6227 #998B37 #BFAF4E #D0C37B

Accessibility & contrast

On white

3.44
#998B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#998B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B37
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B37#FFFFFF#000000##000000
##998B371.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872D
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#A48179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b37;
/* rgb */ color: rgb(153, 139, 55);
/* oklch */ color: oklch(63.2% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#baac72',
    500: '#998b37',
    950: '#000000',
  },
}
SCSS
$custom: #998b37;
$custom-light: #baac72;
$custom-dark: #000000;
JSON
{
  "hex": "#998b37",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 51.429,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.10543,
    "h": 99.9
  },
  "luminance": 0.25513
}

Semantic roles & 50–950 ramp

primary
#998B37
secondary
#737DB9
accent
#64D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998B37

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

Preview Lab → · Contrast checker → · Palette generator →

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