#3B5F0F#3B5F0F

#3B5F0F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.113 H 131.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3B5F0F
RGBrgb(59, 95, 15)
HSLhsl(87, 73%, 22%)
HSVhsv(87, 84%, 37%)
CMYKcmyk(37.9%, 0%, 84.2%, 62.7%)
CIE-LABlab(36.27, -26.41, 38.22)
CIE-LCHlch(36.27, 46.46, 124.64°)
OKLaboklab(44.17% -0.0749 0.0844)
OKLCHoklch(44.17% 0.113 131.6)
XYZxyz(5.9820, 9.1485, 1.9025)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5F0F #330F5F
analogous
#5F5B0F #3B5F0F #135F0F
triadic
#3B5F0F #0F3B5F #5F0F3B
tetradic
#3B5F0F #0F5F5B #330F5F #5F0F13
square
#3B5F0F #0F5F5B #330F5F #5F0F13
split-complementary
#3B5F0F #0F135F #5B0F5F
monochromatic
#101A04 #1A2A07 #3B5F0F #5C9417 #7DC920

Accessibility & contrast

On white

7.42
#3B5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3B5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5F0F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5F0F#FFFFFF#000000##FFFFFF
##3B5F0F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5F5418
Tritanopia (blue-blind)
#3C5B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b5f0f;
/* rgb */ color: rgb(59, 95, 15);
/* oklch */ color: oklch(44.2% 0.113 131.6);
Tailwind
colors: {
  custom: {
    50: '#758c55',
    500: '#3b5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3b5f0f;
$custom-light: #758c55;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5f0f",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 87,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.11285,
    "h": 131.6
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#3B5F0F
secondary
#603298
accent
#38EF8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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