#998F52#998F52

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

Color values

HEX#998F52
RGBrgb(153, 143, 82)
HSLhsl(52, 30%, 46%)
HSVhsv(52, 46%, 60%)
CMYKcmyk(0%, 6.5%, 46.4%, 40%)
CIE-LABlab(59.00, -5.14, 33.67)
CIE-LCHlch(59.00, 34.06, 98.68°)
OKLaboklab(64.48% -0.0145 0.0811)
OKLCHoklch(64.48% 0.082 100.1)
XYZxyz(24.4829, 27.0272, 11.9081)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F52 #525C99
analogous
#996B52 #998F52 #7F9952
triadic
#998F52 #52998F #8F5299
tetradic
#998F52 #52996B #525C99 #99527F
square
#998F52 #52996B #525C99 #99527F
split-complementary
#998F52 #527F99 #6B5299
monochromatic
#494527 #716A3D #998F52 #B4AB74 #CAC39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F52#FFFFFF#000000##000000
##998F521.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)
#998C4D
Deuteranopia (green-blind)
#9C9055
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f52;
/* rgb */ color: rgb(153, 143, 82);
/* oklch */ color: oklch(64.5% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#b8af84',
    500: '#998f52',
    950: '#000000',
  },
}
SCSS
$custom: #998f52;
$custom-light: #b8af84;
$custom-dark: #000000;
JSON
{
  "hex": "#998f52",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 51.549,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.08236,
    "h": 100.1
  },
  "luminance": 0.27026
}

Semantic roles & 50–950 ramp

primary
#998F52
secondary
#9095B7
accent
#70C661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #998F52

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

Preview Lab → · Contrast checker → · Palette generator →

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