#998C2E#998C2E

#998C2E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.113 H 101.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#998C2E
RGBrgb(153, 140, 46)
HSLhsl(53, 54%, 39%)
HSVhsv(53, 70%, 60%)
CMYKcmyk(0%, 8.5%, 69.9%, 40%)
CIE-LABlab(57.78, -6.38, 49.69)
CIE-LCHlch(57.78, 50.10, 97.32°)
OKLaboklab(63.38% -0.0223 0.1112)
OKLCHoklch(63.38% 0.113 101.3)
XYZxyz(23.0091, 25.7267, 6.3380)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C2E #2E3B99
analogous
#99572E #998C2E #71992E
triadic
#998C2E #2E998C #8C2E99
tetradic
#998C2E #2E9957 #2E3B99 #992E71
square
#998C2E #2E9957 #2E3B99 #992E71
split-complementary
#998C2E #2E7199 #572E99
monochromatic
#3B3612 #6A6120 #998C2E #C5B53F #D3C76E

Accessibility & contrast

On white

3.42
#998C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#998C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C2E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C2E#FFFFFF#000000##000000
##998C2E1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998821
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c2e;
/* rgb */ color: rgb(153, 140, 46);
/* oklch */ color: oklch(63.4% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#baad6c',
    500: '#998c2e',
    950: '#000000',
  },
}
SCSS
$custom: #998c2e;
$custom-light: #baad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998c2e",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 52.71,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.11344,
    "h": 101.3
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#998C2E
secondary
#6872BB
accent
#5CDD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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