#998D38#998D38

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

Color values

HEX#998D38
RGBrgb(153, 141, 56)
HSLhsl(53, 46%, 41%)
HSVhsv(53, 63%, 60%)
CMYKcmyk(0%, 7.8%, 63.4%, 40%)
CIE-LABlab(58.14, -6.30, 45.67)
CIE-LCHlch(58.14, 46.10, 97.85°)
OKLaboklab(63.7% -0.0208 0.1044)
OKLCHoklch(63.7% 0.106 101.3)
XYZxyz(23.3765, 26.1085, 7.5487)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D38 #384499
analogous
#995C38 #998D38 #749938
triadic
#998D38 #38998D #8D3899
tetradic
#998D38 #38995C #384499 #993874
square
#998D38 #38995C #384499 #993874
split-complementary
#998D38 #387499 #5C3899
monochromatic
#3F3A17 #6C6428 #998D38 #BFB14F #CFC57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D38#FFFFFF#000000##000000
##998D381.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)
#99892E
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#A4837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d38;
/* rgb */ color: rgb(153, 141, 56);
/* oklch */ color: oklch(63.7% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#baae72',
    500: '#998d38',
    950: '#000000',
  },
}
SCSS
$custom: #998d38;
$custom-light: #baae72;
$custom-dark: #000000;
JSON
{
  "hex": "#998d38",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 52.577,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.10642,
    "h": 101.3
  },
  "luminance": 0.26108
}

Semantic roles & 50–950 ramp

primary
#998D38
secondary
#747DB8
accent
#62D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998D38

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

Preview Lab → · Contrast checker → · Palette generator →

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