#998B32#998B32

#998B32 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.110 H 100.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#998B32
RGBrgb(153, 139, 50)
HSLhsl(52, 51%, 40%)
HSVhsv(52, 67%, 60%)
CMYKcmyk(0%, 9.2%, 67.3%, 40%)
CIE-LABlab(57.53, -5.60, 47.72)
CIE-LCHlch(57.53, 48.05, 96.70°)
OKLaboklab(63.2% -0.0196 0.1078)
OKLCHoklch(63.2% 0.11 100.3)
XYZxyz(22.9462, 25.4688, 6.7243)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B32 #324099
analogous
#995832 #998B32 #739932
triadic
#998B32 #32998B #8B3299
tetradic
#998B32 #329958 #324099 #993273
square
#998B32 #329958 #324099 #993273
split-complementary
#998B32 #327399 #583299
monochromatic
#3D3714 #6B6123 #998B32 #C2B246 #D2C574

Accessibility & contrast

On white

3.45
#998B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#998B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B32
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B32#FFFFFF#000000##000000
##998B321.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A58179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b32;
/* rgb */ color: rgb(153, 139, 50);
/* oklch */ color: oklch(63.2% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#baac6f',
    500: '#998b32',
    950: '#000000',
  },
}
SCSS
$custom: #998b32;
$custom-light: #baac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#998b32",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 51.845,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.10952,
    "h": 100.3
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#998B32
secondary
#6D78BA
accent
#61DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B32

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

Preview Lab → · Contrast checker → · Palette generator →

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