#998D2E#998D2E

#998D2E is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.114 H 102.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#998D2E
RGBrgb(153, 141, 46)
HSLhsl(53, 54%, 39%)
HSVhsv(53, 70%, 60%)
CMYKcmyk(0%, 7.8%, 69.9%, 40%)
CIE-LABlab(58.06, -6.93, 49.97)
CIE-LCHlch(58.06, 50.45, 97.89°)
OKLaboklab(63.61% -0.0238 0.1118)
OKLCHoklch(63.61% 0.114 102)
XYZxyz(23.1559, 26.0203, 6.3869)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D2E #2E3A99
analogous
#99582E #998D2E #70992E
triadic
#998D2E #2E998D #8D2E99
tetradic
#998D2E #2E9958 #2E3A99 #992E70
square
#998D2E #2E9958 #2E3A99 #992E70
split-complementary
#998D2E #2E7099 #582E99
monochromatic
#3B3612 #6A6220 #998D2E #C5B63F #D3C86E

Accessibility & contrast

On white

3.39
#998D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#998D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D2E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D2E#FFFFFF#000000##000000
##998D2E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d2e;
/* rgb */ color: rgb(153, 141, 46);
/* oklch */ color: oklch(63.6% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#baae6d',
    500: '#998d2e',
    950: '#000000',
  },
}
SCSS
$custom: #998d2e;
$custom-light: #baae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#998d2e",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 53.271,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.11433,
    "h": 102
  },
  "luminance": 0.26019
}

Semantic roles & 50–950 ramp

primary
#998D2E
secondary
#6871BB
accent
#5BDD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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