#998F36#998F36

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

Color values

HEX#998F36
RGBrgb(153, 143, 54)
HSLhsl(54, 48%, 41%)
HSVhsv(54, 65%, 60%)
CMYKcmyk(0%, 6.5%, 64.7%, 40%)
CIE-LABlab(58.68, -7.52, 47.16)
CIE-LCHlch(58.68, 47.76, 99.06°)
OKLaboklab(64.12% -0.0246 0.1072)
OKLCHoklch(64.12% 0.11 102.9)
XYZxyz(23.6261, 26.6845, 7.3954)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F36 #364099
analogous
#995D36 #998F36 #719936
triadic
#998F36 #36998F #8F3699
tetradic
#998F36 #36995D #364099 #993671
square
#998F36 #36995D #364099 #993671
split-complementary
#998F36 #367199 #5D3699
monochromatic
#3F3A16 #6C6526 #998F36 #C0B44C #D0C77A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F36#FFFFFF#000000##000000
##998F361.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)
#9B8A2B
Deuteranopia (green-blind)
#9F8F3B
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f36;
/* rgb */ color: rgb(153, 143, 54);
/* oklch */ color: oklch(64.1% 0.110 102.9);
Tailwind
colors: {
  custom: {
    50: '#baaf71',
    500: '#998f36',
    950: '#000000',
  },
}
SCSS
$custom: #998f36;
$custom-light: #baaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#998f36",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 53.939,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.11,
    "h": 102.9
  },
  "luminance": 0.26684
}

Semantic roles & 50–950 ramp

primary
#998F36
secondary
#7279B9
accent
#5ED750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F36

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

Preview Lab → · Contrast checker → · Palette generator →

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