#998F32#998F32

#998F32 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.113 H 103.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#998F32
RGBrgb(153, 143, 50)
HSLhsl(54, 51%, 40%)
HSVhsv(54, 67%, 60%)
CMYKcmyk(0%, 6.5%, 67.3%, 40%)
CIE-LABlab(58.65, -7.78, 48.89)
CIE-LCHlch(58.65, 49.50, 99.04°)
OKLaboklab(64.09% -0.0257 0.1102)
OKLCHoklch(64.09% 0.113 103.1)
XYZxyz(23.5360, 26.6484, 6.9209)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F32 #323C99
analogous
#995C32 #998F32 #6F9932
triadic
#998F32 #32998F #8F3299
tetradic
#998F32 #32995C #323C99 #99326F
square
#998F32 #32995C #323C99 #99326F
split-complementary
#998F32 #326F99 #5C3299
monochromatic
#3D3914 #6B6423 #998F32 #C2B646 #D2C874

Accessibility & contrast

On white

3.32
#998F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#998F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F32
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F32#FFFFFF#000000##000000
##998F321.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A26
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f32;
/* rgb */ color: rgb(153, 143, 50);
/* oklch */ color: oklch(64.1% 0.113 103.1);
Tailwind
colors: {
  custom: {
    50: '#baaf6f',
    500: '#998f32',
    950: '#000000',
  },
}
SCSS
$custom: #998f32;
$custom-light: #baaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#998f32",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 54.175,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.11319,
    "h": 103.1
  },
  "luminance": 0.26648
}

Semantic roles & 50–950 ramp

primary
#998F32
secondary
#6D75BA
accent
#5BDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F32

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

Preview Lab → · Contrast checker → · Palette generator →

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