#3B5A0F#3B5A0F

#3B5A0F is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.8% C 0.106 H 130.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3B5A0F
RGBrgb(59, 90, 15)
HSLhsl(85, 71%, 21%)
HSVhsv(85, 83%, 35%)
CMYKcmyk(34.4%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.55, -23.96, 36.62)
CIE-LCHlch(34.55, 43.76, 123.20°)
OKLaboklab(42.77% -0.0683 0.081)
OKLCHoklch(42.77% 0.106 130.1)
XYZxyz(5.5460, 8.2764, 1.7572)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5A0F #2E0F5A
analogous
#5A530F #3B5A0F #155A0F
triadic
#3B5A0F #0F3B5A #5A0F3B
tetradic
#3B5A0F #0F5A53 #2E0F5A #5A0F15
square
#3B5A0F #0F5A53 #2E0F5A #5A0F15
split-complementary
#3B5A0F #0F155A #530F5A
monochromatic
#111A04 #192606 #3B5A0F #5D8E18 #80C320

Accessibility & contrast

On white

7.91
#3B5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5A0F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5A0F#FFFFFF#000000##FFFFFF
##3B5A0F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#3D564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b5a0f;
/* rgb */ color: rgb(59, 90, 15);
/* oklch */ color: oklch(42.8% 0.106 130.1);
Tailwind
colors: {
  custom: {
    50: '#748954',
    500: '#3b5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #3b5a0f;
$custom-light: #748954;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5a0f",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 84.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.10598,
    "h": 130.1
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#3B5A0F
secondary
#5A3194
accent
#3AEE84
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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