#3B6017#3B6017

#3B6017 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.109 H 132.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3B6017
RGBrgb(59, 96, 23)
HSLhsl(90, 61%, 23%)
HSVhsv(90, 76%, 38%)
CMYKcmyk(38.5%, 0%, 76%, 62.4%)
CIE-LABlab(36.66, -26.36, 35.57)
CIE-LCHlch(36.66, 44.27, 126.54°)
OKLaboklab(44.51% -0.0741 0.0802)
OKLCHoklch(44.51% 0.109 132.8)
XYZxyz(6.1411, 9.3571, 2.2930)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6017 #3C1760
analogous
#5F6017 #3B6017 #176017
triadic
#3B6017 #173B60 #60173B
tetradic
#3B6017 #175F60 #3C1760 #601717
square
#3B6017 #175F60 #3C1760 #601717
split-complementary
#3B6017 #171760 #60175F
monochromatic
#0F1906 #1D2F0B #3B6017 #599123 #78C32F

Accessibility & contrast

On white

7.31
#3B6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3B6017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B6017
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6017#FFFFFF#000000##FFFFFF
##3B60171.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#3B5C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b6017;
/* rgb */ color: rgb(59, 96, 23);
/* oklch */ color: oklch(44.5% 0.109 132.8);
Tailwind
colors: {
  custom: {
    50: '#748d59',
    500: '#3b6017',
    950: '#000000',
  },
}
SCSS
$custom: #3b6017;
$custom-light: #748d59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6017",
  "rgb": {
    "r": 59,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 90.411,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.10921,
    "h": 132.8
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#3B6017
secondary
#6A3C97
accent
#43E495
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3B6017

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

Preview Lab → · Contrast checker → · Palette generator →

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