#998F54#998F54

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

Color values

HEX#998F54
RGBrgb(153, 143, 84)
HSLhsl(51, 29%, 46%)
HSVhsv(51, 45%, 60%)
CMYKcmyk(0%, 6.5%, 45.1%, 40%)
CIE-LABlab(59.03, -4.93, 32.64)
CIE-LCHlch(59.03, 33.01, 98.59°)
OKLaboklab(64.51% -0.0137 0.0789)
OKLCHoklch(64.51% 0.08 99.9)
XYZxyz(24.5601, 27.0581, 12.3148)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F54 #545E99
analogous
#996D54 #998F54 #819954
triadic
#998F54 #54998F #8F5499
tetradic
#998F54 #54996D #545E99 #995481
square
#998F54 #54996D #545E99 #995481
split-complementary
#998F54 #548199 #6D5499
monochromatic
#4A4529 #716A3E #998F54 #B4AB76 #CAC39E

Accessibility & contrast

On white

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

On black

6.41
#998F54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F54
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F54#FFFFFF#000000##000000
##998F541.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C4F
Deuteranopia (green-blind)
#9C9056
Tritanopia (blue-blind)
#A28781
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f54;
/* rgb */ color: rgb(153, 143, 84);
/* oklch */ color: oklch(64.5% 0.080 99.9);
Tailwind
colors: {
  custom: {
    50: '#b8af85',
    500: '#998f54',
    950: '#000000',
  },
}
SCSS
$custom: #998f54;
$custom-light: #b8af85;
$custom-dark: #000000;
JSON
{
  "hex": "#998f54",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 84
  },
  "hsl": {
    "h": 51.304,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.08008,
    "h": 99.9
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#998F54
secondary
#9297B7
accent
#71C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #998F54

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

Preview Lab → · Contrast checker → · Palette generator →

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