#998C38#998C38

#998C38 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.105 H 100.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#998C38
RGBrgb(153, 140, 56)
HSLhsl(52, 46%, 41%)
HSVhsv(52, 63%, 60%)
CMYKcmyk(0%, 8.5%, 63.4%, 40%)
CIE-LABlab(57.86, -5.75, 45.36)
CIE-LCHlch(57.86, 45.73, 97.23°)
OKLaboklab(63.48% -0.0193 0.1037)
OKLCHoklch(63.48% 0.105 100.5)
XYZxyz(23.2297, 25.8150, 7.4998)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C38 #384599
analogous
#995B38 #998C38 #759938
triadic
#998C38 #38998C #8C3899
tetradic
#998C38 #38995B #384599 #993875
square
#998C38 #38995B #384599 #993875
split-complementary
#998C38 #387599 #5B3899
monochromatic
#3F3A17 #6C6328 #998C38 #BFB04F #CFC47C

Accessibility & contrast

On white

3.41
#998C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#998C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C38
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C38#FFFFFF#000000##000000
##998C381.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99882E
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#A4827A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c38;
/* rgb */ color: rgb(153, 140, 56);
/* oklch */ color: oklch(63.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#baad72',
    500: '#998c38',
    950: '#000000',
  },
}
SCSS
$custom: #998c38;
$custom-light: #baad72;
$custom-dark: #000000;
JSON
{
  "hex": "#998c38",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 51.959,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.10549,
    "h": 100.5
  },
  "luminance": 0.25814
}

Semantic roles & 50–950 ramp

primary
#998C38
secondary
#747EB8
accent
#63D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998C38

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

Preview Lab → · Contrast checker → · Palette generator →

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