#998F57#998F57

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

Color values

HEX#998F57
RGBrgb(153, 143, 87)
HSLhsl(51, 28%, 47%)
HSVhsv(51, 43%, 60%)
CMYKcmyk(0%, 6.5%, 43.1%, 40%)
CIE-LABlab(59.07, -4.60, 31.09)
CIE-LCHlch(59.07, 31.43, 98.42°)
OKLaboklab(64.56% -0.0125 0.0756)
OKLCHoklch(64.56% 0.077 99.4)
XYZxyz(24.6802, 27.1061, 12.9469)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F57 #576199
analogous
#996E57 #998F57 #829957
triadic
#998F57 #57998F #8F5799
tetradic
#998F57 #57996E #576199 #995782
square
#998F57 #57996E #576199 #995782
split-complementary
#998F57 #578299 #6E5799
monochromatic
#4B462B #726B41 #998F57 #B3AB7A #C9C3A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F57#FFFFFF#000000##000000
##998F571.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)
#998C53
Deuteranopia (green-blind)
#9C9059
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f57;
/* rgb */ color: rgb(153, 143, 87);
/* oklch */ color: oklch(64.6% 0.077 99.4);
Tailwind
colors: {
  custom: {
    50: '#b8af87',
    500: '#998f57',
    950: '#000000',
  },
}
SCSS
$custom: #998f57;
$custom-light: #b8af87;
$custom-dark: #000000;
JSON
{
  "hex": "#998f57",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 87
  },
  "hsl": {
    "h": 50.909,
    "s": 27.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.64559,
    "c": 0.0766,
    "h": 99.4
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#998F57
secondary
#959AB7
accent
#72C464
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #998F57

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

Preview Lab → · Contrast checker → · Palette generator →

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