#998B45#998B45

#998B45 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.092 H 98.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998B45
RGBrgb(153, 139, 69)
HSLhsl(50, 38%, 44%)
HSVhsv(50, 55%, 60%)
CMYKcmyk(0%, 9.2%, 54.9%, 40%)
CIE-LABlab(57.72, -4.19, 38.87)
CIE-LCHlch(57.72, 39.10, 96.15°)
OKLaboklab(63.41% -0.0132 0.0914)
OKLCHoklch(63.41% 0.092 98.2)
XYZxyz(23.4445, 25.6682, 9.3486)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B45 #455399
analogous
#996145 #998B45 #7D9945
triadic
#998B45 #45998B #8B4599
tetradic
#998B45 #459961 #455399 #99457D
square
#998B45 #459961 #455399 #99457D
split-complementary
#998B45 #457D99 #614599
monochromatic
#453E1F #6F6532 #998B45 #B9AA63 #CCC18D

Accessibility & contrast

On white

3.42
#998B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B45
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B45#FFFFFF#000000##000000
##998B451.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883F
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#A4827B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998b45;
/* rgb */ color: rgb(153, 139, 69);
/* oklch */ color: oklch(63.4% 0.092 98.2);
Tailwind
colors: {
  custom: {
    50: '#b9ac7b',
    500: '#998b45',
    950: '#000000',
  },
}
SCSS
$custom: #998b45;
$custom-light: #b9ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#998b45",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 50,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.09238,
    "h": 98.2
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#998B45
secondary
#838CB7
accent
#6DCE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #998B45

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

Preview Lab → · Contrast checker → · Palette generator →

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