#998C2D#998C2D

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

Color values

HEX#998C2D
RGBrgb(153, 140, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 8.5%, 70.6%, 40%)
CIE-LABlab(57.77, -6.44, 50.10)
CIE-LCHlch(57.77, 50.51, 97.33°)
OKLaboklab(63.38% -0.0225 0.1119)
OKLCHoklch(63.38% 0.114 101.4)
XYZxyz(22.9896, 25.7189, 6.2354)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C2D #2D3A99
analogous
#99562D #998C2D #70992D
triadic
#998C2D #2D998C #8C2D99
tetradic
#998C2D #2D9956 #2D3A99 #992D70
square
#998C2D #2D9956 #2D3A99 #992D70
split-complementary
#998C2D #2D7099 #562D99
monochromatic
#3A3511 #6A611F #998C2D #C6B63D #D4C76C

Accessibility & contrast

On white

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

On black

6.14
#998C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C2D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C2D#FFFFFF#000000##000000
##998C2D1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881F
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c2d;
/* rgb */ color: rgb(153, 140, 45);
/* oklch */ color: oklch(63.4% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#baad6c',
    500: '#998c2d',
    950: '#000000',
  },
}
SCSS
$custom: #998c2d;
$custom-light: #baad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998c2d",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 52.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.11416,
    "h": 101.4
  },
  "luminance": 0.25718
}

Semantic roles & 50–950 ramp

primary
#998C2D
secondary
#6771BB
accent
#5CDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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