#998D37#998D37

#998D37 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.107 H 101.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#998D37
RGBrgb(153, 141, 55)
HSLhsl(53, 47%, 41%)
HSVhsv(53, 64%, 60%)
CMYKcmyk(0%, 7.8%, 64.1%, 40%)
CIE-LABlab(58.13, -6.37, 46.12)
CIE-LCHlch(58.13, 46.55, 97.86°)
OKLaboklab(63.69% -0.0212 0.1052)
OKLCHoklch(63.69% 0.107 101.4)
XYZxyz(23.3523, 26.0988, 7.4212)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D37 #374399
analogous
#995C37 #998D37 #749937
triadic
#998D37 #37998D #8D3799
tetradic
#998D37 #37995C #374399 #993774
square
#998D37 #37995C #374399 #993774
split-complementary
#998D37 #377499 #5C3799
monochromatic
#3F3A17 #6C6427 #998D37 #BFB14E #D0C57B

Accessibility & contrast

On white

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

On black

6.22
#998D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D37
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D37#FFFFFF#000000##000000
##998D371.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#A4837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d37;
/* rgb */ color: rgb(153, 141, 55);
/* oklch */ color: oklch(63.7% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#baae72',
    500: '#998d37',
    950: '#000000',
  },
}
SCSS
$custom: #998d37;
$custom-light: #baae72;
$custom-dark: #000000;
JSON
{
  "hex": "#998d37",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 52.653,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.10727,
    "h": 101.4
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#998D37
secondary
#737CB9
accent
#61D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998D37

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

Preview Lab → · Contrast checker → · Palette generator →

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