#998F3F#998F3F

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

Color values

HEX#998F3F
RGBrgb(153, 143, 63)
HSLhsl(53, 42%, 42%)
HSVhsv(53, 59%, 60%)
CMYKcmyk(0%, 6.5%, 58.8%, 40%)
CIE-LABlab(58.77, -6.87, 43.05)
CIE-LCHlch(58.77, 43.60, 99.07°)
OKLaboklab(64.22% -0.0216 0.0998)
OKLCHoklch(64.22% 0.102 102.2)
XYZxyz(23.8574, 26.7770, 8.6134)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F3F #3F4999
analogous
#99623F #998F3F #76993F
triadic
#998F3F #3F998F #8F3F99
tetradic
#998F3F #3F9962 #3F4999 #993F76
square
#998F3F #3F9962 #3F4999 #993F76
split-complementary
#998F3F #3F7699 #623F99
monochromatic
#423E1B #6E662D #998F3F #BBB05A #CDC585

Accessibility & contrast

On white

3.30
#998F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#998F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F3F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F3F#FFFFFF#000000##000000
##998F3F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998f3f;
/* rgb */ color: rgb(153, 143, 63);
/* oklch */ color: oklch(64.2% 0.102 102.2);
Tailwind
colors: {
  custom: {
    50: '#b9af77',
    500: '#998f3f',
    950: '#000000',
  },
}
SCSS
$custom: #998f3f;
$custom-light: #b9af77;
$custom-dark: #000000;
JSON
{
  "hex": "#998f3f",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 53.333,
    "s": 41.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.10207,
    "h": 102.2
  },
  "luminance": 0.26776
}

Semantic roles & 50–950 ramp

primary
#998F3F
secondary
#7C83B7
accent
#64D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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