#998F46#998F46

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

Color values

HEX#998F46
RGBrgb(153, 143, 70)
HSLhsl(53, 37%, 44%)
HSVhsv(53, 54%, 60%)
CMYKcmyk(0%, 6.5%, 54.2%, 40%)
CIE-LABlab(58.84, -6.29, 39.69)
CIE-LCHlch(58.84, 40.18, 99.01°)
OKLaboklab(64.31% -0.0191 0.0933)
OKLCHoklch(64.31% 0.095 101.6)
XYZxyz(24.0656, 26.8603, 9.7100)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F46 #465099
analogous
#996546 #998F46 #799946
triadic
#998F46 #46998F #8F4699
tetradic
#998F46 #469965 #465099 #994679
square
#998F46 #469965 #465099 #994679
split-complementary
#998F46 #467999 #654699
monochromatic
#454120 #6F6833 #998F46 #B8AE64 #CBC48E

Accessibility & contrast

On white

3.30
#998F46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F46#FFFFFF#000000##000000
##998F461.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3F
Deuteranopia (green-blind)
#9D9049
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f46;
/* rgb */ color: rgb(153, 143, 70);
/* oklch */ color: oklch(64.3% 0.095 101.6);
Tailwind
colors: {
  custom: {
    50: '#b9af7c',
    500: '#998f46',
    950: '#000000',
  },
}
SCSS
$custom: #998f46;
$custom-light: #b9af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#998f46",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 70
  },
  "hsl": {
    "h": 52.771,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.09524,
    "h": 101.6
  },
  "luminance": 0.26859
}

Semantic roles & 50–950 ramp

primary
#998F46
secondary
#848AB7
accent
#68CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F46

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

Preview Lab → · Contrast checker → · Palette generator →

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