#998F56#998F56

#998F56 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.078 H 99.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#998F56
RGBrgb(153, 143, 86)
HSLhsl(51, 28%, 47%)
HSVhsv(51, 44%, 60%)
CMYKcmyk(0%, 6.5%, 43.8%, 40%)
CIE-LABlab(59.06, -4.71, 31.61)
CIE-LCHlch(59.06, 31.95, 98.48°)
OKLaboklab(64.54% -0.0129 0.0767)
OKLCHoklch(64.54% 0.078 99.5)
XYZxyz(24.6396, 27.0899, 12.7332)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F56 #566099
analogous
#996E56 #998F56 #829956
triadic
#998F56 #56998F #8F5699
tetradic
#998F56 #56996E #566099 #995682
square
#998F56 #56996E #566099 #995682
split-complementary
#998F56 #568299 #6E5699
monochromatic
#4B462A #726A40 #998F56 #B4AB79 #CAC3A0

Accessibility & contrast

On white

3.27
#998F56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#998F56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F56
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F56#FFFFFF#000000##000000
##998F561.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C52
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f56;
/* rgb */ color: rgb(153, 143, 86);
/* oklch */ color: oklch(64.5% 0.078 99.5);
Tailwind
colors: {
  custom: {
    50: '#b8af86',
    500: '#998f56',
    950: '#000000',
  },
}
SCSS
$custom: #998f56;
$custom-light: #b8af86;
$custom-dark: #000000;
JSON
{
  "hex": "#998f56",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 51.045,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64542,
    "c": 0.07778,
    "h": 99.5
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#998F56
secondary
#9499B7
accent
#72C463
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #998F56

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

Preview Lab → · Contrast checker → · Palette generator →

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