#998D45#998D45

#998D45 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.094 H 100.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#998D45
RGBrgb(153, 141, 69)
HSLhsl(51, 38%, 44%)
HSVhsv(51, 55%, 60%)
CMYKcmyk(0%, 7.8%, 54.9%, 40%)
CIE-LABlab(58.28, -5.29, 39.52)
CIE-LCHlch(58.28, 39.88, 97.62°)
OKLaboklab(63.85% -0.0164 0.0928)
OKLCHoklch(63.85% 0.094 100)
XYZxyz(23.7367, 26.2526, 9.4460)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D45 #455199
analogous
#996345 #998D45 #7B9945
triadic
#998D45 #45998D #8D4599
tetradic
#998D45 #459963 #455199 #99457B
square
#998D45 #459963 #455199 #99457B
split-complementary
#998D45 #457B99 #634599
monochromatic
#453F1F #6F6632 #998D45 #B9AC63 #CCC38D

Accessibility & contrast

On white

3.36
#998D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#998D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D45
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D45#FFFFFF#000000##000000
##998D451.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893E
Deuteranopia (green-blind)
#9C8E48
Tritanopia (blue-blind)
#A4847D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d45;
/* rgb */ color: rgb(153, 141, 69);
/* oklch */ color: oklch(63.8% 0.094 100.0);
Tailwind
colors: {
  custom: {
    50: '#b9ae7b',
    500: '#998d45',
    950: '#000000',
  },
}
SCSS
$custom: #998d45;
$custom-light: #b9ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d45",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 51.429,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.09427,
    "h": 100
  },
  "luminance": 0.26252
}

Semantic roles & 50–950 ramp

primary
#998D45
secondary
#838AB7
accent
#6BCE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #998D45

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

Preview Lab → · Contrast checker → · Palette generator →

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