#998F37#998F37

#998F37 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.109 H 102.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#998F37
RGBrgb(153, 143, 55)
HSLhsl(54, 47%, 41%)
HSVhsv(54, 64%, 60%)
CMYKcmyk(0%, 6.5%, 64.1%, 40%)
CIE-LABlab(58.69, -7.45, 46.72)
CIE-LCHlch(58.69, 47.31, 99.07°)
OKLaboklab(64.13% -0.0242 0.1064)
OKLCHoklch(64.13% 0.109 102.8)
XYZxyz(23.6498, 26.6940, 7.5204)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F37 #374199
analogous
#995E37 #998F37 #729937
triadic
#998F37 #37998F #8F3799
tetradic
#998F37 #37995E #374199 #993772
square
#998F37 #37995E #374199 #993772
split-complementary
#998F37 #377299 #5E3799
monochromatic
#3F3B17 #6C6527 #998F37 #BFB44E #D0C77B

Accessibility & contrast

On white

3.31
#998F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#998F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F37
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F37#FFFFFF#000000##000000
##998F371.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B2D
Deuteranopia (green-blind)
#9F8F3C
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f37;
/* rgb */ color: rgb(153, 143, 55);
/* oklch */ color: oklch(64.1% 0.109 102.8);
Tailwind
colors: {
  custom: {
    50: '#baaf72',
    500: '#998f37',
    950: '#000000',
  },
}
SCSS
$custom: #998f37;
$custom-light: #baaf72;
$custom-dark: #000000;
JSON
{
  "hex": "#998f37",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 53.878,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.10916,
    "h": 102.8
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#998F37
secondary
#737AB9
accent
#5FD751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F37

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

Preview Lab → · Contrast checker → · Palette generator →

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