#998F3C#998F3C

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

Color values

HEX#998F3C
RGBrgb(153, 143, 60)
HSLhsl(54, 44%, 42%)
HSVhsv(54, 61%, 60%)
CMYKcmyk(0%, 6.5%, 60.8%, 40%)
CIE-LABlab(58.74, -7.10, 44.45)
CIE-LCHlch(58.74, 45.02, 99.07°)
OKLaboklab(64.18% -0.0226 0.1023)
OKLCHoklch(64.18% 0.105 102.5)
XYZxyz(23.7758, 26.7444, 8.1839)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F3C #3C4699
analogous
#99613C #998F3C #75993C
triadic
#998F3C #3C998F #8F3C99
tetradic
#998F3C #3C9961 #3C4699 #993C75
square
#998F3C #3C9961 #3C4699 #993C75
split-complementary
#998F3C #3C7599 #613C99
monochromatic
#413D1A #6D662B #998F3C #BDB256 #CEC682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F3C#FFFFFF#000000##000000
##998F3C1.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)
#9B8B33
Deuteranopia (green-blind)
#9E8F40
Tritanopia (blue-blind)
#A4867D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f3c;
/* rgb */ color: rgb(153, 143, 60);
/* oklch */ color: oklch(64.2% 0.105 102.5);
Tailwind
colors: {
  custom: {
    50: '#b9af75',
    500: '#998f3c',
    950: '#000000',
  },
}
SCSS
$custom: #998f3c;
$custom-light: #b9af75;
$custom-dark: #000000;
JSON
{
  "hex": "#998f3c",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 53.548,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.10481,
    "h": 102.5
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#998F3C
secondary
#7980B8
accent
#62D354
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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