#3B5917#3B5917

#3B5917 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.099 H 130.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3B5917
RGBrgb(59, 89, 23)
HSLhsl(87, 59%, 22%)
HSVhsv(87, 74%, 35%)
CMYKcmyk(33.7%, 0%, 74.2%, 65.1%)
CIE-LABlab(34.26, -22.91, 33.12)
CIE-LCHlch(34.26, 40.27, 124.67°)
OKLaboklab(42.56% -0.0647 0.0751)
OKLCHoklch(42.56% 0.099 130.8)
XYZxyz(5.5306, 8.1362, 2.0895)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5917 #351759
analogous
#595617 #3B5917 #1A5917
triadic
#3B5917 #173B59 #59173B
tetradic
#3B5917 #175956 #351759 #59171A
square
#3B5917 #175956 #351759 #59171A
split-complementary
#3B5917 #171A59 #561759
monochromatic
#101806 #1B280A #3B5917 #5B8A24 #7BBA30

Accessibility & contrast

On white

7.99
#3B5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B5917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5917
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5917#FFFFFF#000000##FFFFFF
##3B59171.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#3C554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b5917;
/* rgb */ color: rgb(59, 89, 23);
/* oklch */ color: oklch(42.6% 0.099 130.8);
Tailwind
colors: {
  custom: {
    50: '#748858',
    500: '#3b5917',
    950: '#000000',
  },
}
SCSS
$custom: #3b5917;
$custom-light: #748858;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5917",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 87.273,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.09912,
    "h": 130.8
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#3B5917
secondary
#623C90
accent
#46E28D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5917

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

Preview Lab → · Contrast checker → · Palette generator →

#3B5917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva