#998F3E#998F3E

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

Color values

HEX#998F3E
RGBrgb(153, 143, 62)
HSLhsl(53, 42%, 42%)
HSVhsv(53, 59%, 60%)
CMYKcmyk(0%, 6.5%, 59.5%, 40%)
CIE-LABlab(58.76, -6.95, 43.52)
CIE-LCHlch(58.76, 44.07, 99.07°)
OKLaboklab(64.21% -0.022 0.1006)
OKLCHoklch(64.21% 0.103 102.3)
XYZxyz(23.8297, 26.7659, 8.4676)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F3E #3E4899
analogous
#99623E #998F3E #75993E
triadic
#998F3E #3E998F #8F3E99
tetradic
#998F3E #3E9962 #3E4899 #993E75
square
#998F3E #3E9962 #3E4899 #993E75
split-complementary
#998F3E #3E7599 #623E99
monochromatic
#423E1B #6D662C #998F3E #BCB159 #CDC584

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F3E#FFFFFF#000000##000000
##998F3E1.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)
#9B8B35
Deuteranopia (green-blind)
#9E8F42
Tritanopia (blue-blind)
#A4867D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f3e;
/* rgb */ color: rgb(153, 143, 62);
/* oklch */ color: oklch(64.2% 0.103 102.3);
Tailwind
colors: {
  custom: {
    50: '#b9af76',
    500: '#998f3e',
    950: '#000000',
  },
}
SCSS
$custom: #998f3e;
$custom-light: #b9af76;
$custom-dark: #000000;
JSON
{
  "hex": "#998f3e",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 53.407,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.103,
    "h": 102.3
  },
  "luminance": 0.26765
}

Semantic roles & 50–950 ramp

primary
#998F3E
secondary
#7B82B8
accent
#63D256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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