#998F3D#998F3D

#998F3D is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.104 H 102.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#998F3D
RGBrgb(153, 143, 61)
HSLhsl(53, 43%, 42%)
HSVhsv(53, 60%, 60%)
CMYKcmyk(0%, 6.5%, 60.1%, 40%)
CIE-LABlab(58.75, -7.02, 43.99)
CIE-LCHlch(58.75, 44.55, 99.07°)
OKLaboklab(64.2% -0.0223 0.1015)
OKLCHoklch(64.2% 0.104 102.4)
XYZxyz(23.8025, 26.7550, 8.3244)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F3D #3D4799
analogous
#99613D #998F3D #75993D
triadic
#998F3D #3D998F #8F3D99
tetradic
#998F3D #3D9961 #3D4799 #993D75
square
#998F3D #3D9961 #3D4799 #993D75
split-complementary
#998F3D #3D7599 #613D99
monochromatic
#413D1A #6D662C #998F3D #BCB157 #CEC583

Accessibility & contrast

On white

3.31
#998F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#998F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F3D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F3D#FFFFFF#000000##000000
##998F3D1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B34
Deuteranopia (green-blind)
#9E8F41
Tritanopia (blue-blind)
#A4867D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f3d;
/* rgb */ color: rgb(153, 143, 61);
/* oklch */ color: oklch(64.2% 0.104 102.4);
Tailwind
colors: {
  custom: {
    50: '#b9af76',
    500: '#998f3d',
    950: '#000000',
  },
}
SCSS
$custom: #998f3d;
$custom-light: #b9af76;
$custom-dark: #000000;
JSON
{
  "hex": "#998f3d",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 53.478,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.10391,
    "h": 102.4
  },
  "luminance": 0.26754
}

Semantic roles & 50–950 ramp

primary
#998F3D
secondary
#7A81B8
accent
#63D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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