#998F50#998F50

#998F50 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.085 H 100.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#998F50
RGBrgb(153, 143, 80)
HSLhsl(52, 31%, 46%)
HSVhsv(52, 48%, 60%)
CMYKcmyk(0%, 6.5%, 47.7%, 40%)
CIE-LABlab(58.97, -5.34, 34.69)
CIE-LCHlch(58.97, 35.10, 98.76°)
OKLaboklab(64.45% -0.0153 0.0832)
OKLCHoklch(64.45% 0.085 100.4)
XYZxyz(24.4079, 26.9972, 11.5131)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F50 #505A99
analogous
#996A50 #998F50 #7E9950
triadic
#998F50 #50998F #8F5099
tetradic
#998F50 #50996A #505A99 #99507E
square
#998F50 #50996A #505A99 #99507E
split-complementary
#998F50 #507E99 #6A5099
monochromatic
#494426 #71693B #998F50 #B5AC71 #CAC399

Accessibility & contrast

On white

3.28
#998F50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#998F50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F50
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F50#FFFFFF#000000##000000
##998F501.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4B
Deuteranopia (green-blind)
#9D9053
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f50;
/* rgb */ color: rgb(153, 143, 80);
/* oklch */ color: oklch(64.4% 0.085 100.4);
Tailwind
colors: {
  custom: {
    50: '#b8af82',
    500: '#998f50',
    950: '#000000',
  },
}
SCSS
$custom: #998f50;
$custom-light: #b8af82;
$custom-dark: #000000;
JSON
{
  "hex": "#998f50",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 80
  },
  "hsl": {
    "h": 51.781,
    "s": 31.33,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64447,
    "c": 0.08461,
    "h": 100.4
  },
  "luminance": 0.26996
}

Semantic roles & 50–950 ramp

primary
#998F50
secondary
#8E94B7
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F50

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

Preview Lab → · Contrast checker → · Palette generator →

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