#998F4B#998F4B

#998F4B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.090 H 101.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#998F4B
RGBrgb(153, 143, 75)
HSLhsl(52, 34%, 45%)
HSVhsv(52, 51%, 60%)
CMYKcmyk(0%, 6.5%, 51%, 40%)
CIE-LABlab(58.91, -5.83, 37.21)
CIE-LCHlch(58.91, 37.67, 98.91°)
OKLaboklab(64.37% -0.0173 0.0884)
OKLCHoklch(64.37% 0.09 101.1)
XYZxyz(24.2300, 26.9261, 10.5762)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F4B #4B5599
analogous
#99684B #998F4B #7C994B
triadic
#998F4B #4B998F #8F4B99
tetradic
#998F4B #4B9968 #4B5599 #994B7C
square
#998F4B #4B9968 #4B5599 #994B7C
split-complementary
#998F4B #4B7C99 #684B99
monochromatic
#474223 #706937 #998F4B #B6AD6B #CBC494

Accessibility & contrast

On white

3.29
#998F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#998F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F4B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F4B#FFFFFF#000000##000000
##998F4B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B45
Deuteranopia (green-blind)
#9D904E
Tritanopia (blue-blind)
#A3877F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f4b;
/* rgb */ color: rgb(153, 143, 75);
/* oklch */ color: oklch(64.4% 0.090 101.1);
Tailwind
colors: {
  custom: {
    50: '#b9af7f',
    500: '#998f4b',
    950: '#000000',
  },
}
SCSS
$custom: #998f4b;
$custom-light: #b9af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#998f4b",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 52.308,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.09005,
    "h": 101.1
  },
  "luminance": 0.26925
}

Semantic roles & 50–950 ramp

primary
#998F4B
secondary
#898FB7
accent
#6BCA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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