#998F45#998F45

#998F45 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.096 H 101.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#998F45
RGBrgb(153, 143, 69)
HSLhsl(53, 38%, 44%)
HSVhsv(53, 55%, 60%)
CMYKcmyk(0%, 6.5%, 54.9%, 40%)
CIE-LABlab(58.83, -6.38, 40.18)
CIE-LCHlch(58.83, 40.68, 99.02°)
OKLaboklab(64.29% -0.0195 0.0943)
OKLCHoklch(64.29% 0.096 101.7)
XYZxyz(24.0343, 26.8478, 9.5452)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F45 #454F99
analogous
#996545 #998F45 #799945
triadic
#998F45 #45998F #8F4599
tetradic
#998F45 #459965 #454F99 #994579
square
#998F45 #459965 #454F99 #994579
split-complementary
#998F45 #457999 #654599
monochromatic
#45401F #6F6832 #998F45 #B9AE63 #CCC48D

Accessibility & contrast

On white

3.30
#998F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#998F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F45
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F45#FFFFFF#000000##000000
##998F451.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3E
Deuteranopia (green-blind)
#9E8F48
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f45;
/* rgb */ color: rgb(153, 143, 69);
/* oklch */ color: oklch(64.3% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#b9af7b',
    500: '#998f45',
    950: '#000000',
  },
}
SCSS
$custom: #998f45;
$custom-light: #b9af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#998f45",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 52.857,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.09626,
    "h": 101.7
  },
  "luminance": 0.26847
}

Semantic roles & 50–950 ramp

primary
#998F45
secondary
#8389B7
accent
#68CE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F45

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

Preview Lab → · Contrast checker → · Palette generator →

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