#998D39#998D39

#998D39 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.106 H 101.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#998D39
RGBrgb(153, 141, 57)
HSLhsl(53, 46%, 41%)
HSVhsv(53, 63%, 60%)
CMYKcmyk(0%, 7.8%, 62.7%, 40%)
CIE-LABlab(58.15, -6.23, 45.21)
CIE-LCHlch(58.15, 45.64, 97.85°)
OKLaboklab(63.71% -0.0205 0.1035)
OKLCHoklch(63.71% 0.106 101.2)
XYZxyz(23.4012, 26.1184, 7.6788)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D39 #394599
analogous
#995D39 #998D39 #759939
triadic
#998D39 #39998D #8D3999
tetradic
#998D39 #39995D #394599 #993975
square
#998D39 #39995D #394599 #993975
split-complementary
#998D39 #397599 #5D3999
monochromatic
#403B18 #6C6428 #998D39 #BEB151 #CFC57E

Accessibility & contrast

On white

3.37
#998D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#998D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D39
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D39#FFFFFF#000000##000000
##998D391.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998930
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#A4847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d39;
/* rgb */ color: rgb(153, 141, 57);
/* oklch */ color: oklch(63.7% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#baae73',
    500: '#998d39',
    950: '#000000',
  },
}
SCSS
$custom: #998d39;
$custom-light: #baae73;
$custom-dark: #000000;
JSON
{
  "hex": "#998d39",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 52.5,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.10555,
    "h": 101.2
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#998D39
secondary
#767EB8
accent
#63D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998D39

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

Preview Lab → · Contrast checker → · Palette generator →

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