#998F47#998F47

#998F47 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.094 H 101.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#998F47
RGBrgb(153, 143, 71)
HSLhsl(53, 37%, 44%)
HSVhsv(53, 54%, 60%)
CMYKcmyk(0%, 6.5%, 53.6%, 40%)
CIE-LABlab(58.86, -6.20, 39.20)
CIE-LCHlch(58.86, 39.68, 98.99°)
OKLaboklab(64.32% -0.0188 0.0923)
OKLCHoklch(64.32% 0.094 101.5)
XYZxyz(24.0974, 26.8730, 9.8777)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F47 #475199
analogous
#996647 #998F47 #7A9947
triadic
#998F47 #47998F #8F4799
tetradic
#998F47 #479966 #475199 #99477A
square
#998F47 #479966 #475199 #99477A
split-complementary
#998F47 #477A99 #664799
monochromatic
#454120 #6F6834 #998F47 #B8AE65 #CBC48F

Accessibility & contrast

On white

3.29
#998F47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#998F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F47
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F47#FFFFFF#000000##000000
##998F471.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B40
Deuteranopia (green-blind)
#9D904A
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f47;
/* rgb */ color: rgb(153, 143, 71);
/* oklch */ color: oklch(64.3% 0.094 101.5);
Tailwind
colors: {
  custom: {
    50: '#b9af7c',
    500: '#998f47',
    950: '#000000',
  },
}
SCSS
$custom: #998f47;
$custom-light: #b9af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#998f47",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 52.683,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.64318,
    "c": 0.09423,
    "h": 101.5
  },
  "luminance": 0.26872
}

Semantic roles & 50–950 ramp

primary
#998F47
secondary
#858BB7
accent
#69CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F47

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

Preview Lab → · Contrast checker → · Palette generator →

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