#998F39#998F39

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

Color values

HEX#998F39
RGBrgb(153, 143, 57)
HSLhsl(54, 46%, 41%)
HSVhsv(54, 63%, 60%)
CMYKcmyk(0%, 6.5%, 62.7%, 40%)
CIE-LABlab(58.71, -7.32, 45.82)
CIE-LCHlch(58.71, 46.40, 99.07°)
OKLaboklab(64.15% -0.0236 0.1048)
OKLCHoklch(64.15% 0.107 102.7)
XYZxyz(23.6987, 26.7135, 7.7780)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F39 #394399
analogous
#995F39 #998F39 #739939
triadic
#998F39 #39998F #8F3999
tetradic
#998F39 #39995F #394399 #993973
square
#998F39 #39995F #394399 #993973
split-complementary
#998F39 #397399 #5F3999
monochromatic
#403C18 #6C6528 #998F39 #BEB351 #CFC67E

Accessibility & contrast

On white

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

On black

6.34
#998F39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F39
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F39#FFFFFF#000000##000000
##998F391.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998f39;
/* rgb */ color: rgb(153, 143, 57);
/* oklch */ color: oklch(64.2% 0.107 102.7);
Tailwind
colors: {
  custom: {
    50: '#baaf73',
    500: '#998f39',
    950: '#000000',
  },
}
SCSS
$custom: #998f39;
$custom-light: #baaf73;
$custom-dark: #000000;
JSON
{
  "hex": "#998f39",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 57
  },
  "hsl": {
    "h": 53.75,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64152,
    "c": 0.10746,
    "h": 102.7
  },
  "luminance": 0.26713
}

Semantic roles & 50–950 ramp

primary
#998F39
secondary
#767DB8
accent
#60D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F39

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

Preview Lab → · Contrast checker → · Palette generator →

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