#3B580F#3B580F

#3B580F is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.103 H 129.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3B580F
RGBrgb(59, 88, 15)
HSLhsl(84, 71%, 20%)
HSVhsv(84, 83%, 35%)
CMYKcmyk(33%, 0%, 83%, 65.5%)
CIE-LABlab(33.87, -22.96, 35.97)
CIE-LCHlch(33.87, 42.67, 122.55°)
OKLaboklab(42.21% -0.0656 0.0797)
OKLCHoklch(42.21% 0.103 129.5)
XYZxyz(5.3796, 7.9436, 1.7017)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B580F #2C0F58
analogous
#58510F #3B580F #16580F
triadic
#3B580F #0F3B58 #580F3B
tetradic
#3B580F #0F5851 #2C0F58 #580F16
square
#3B580F #0F5851 #2C0F58 #580F16
split-complementary
#3B580F #0F1658 #510F58
monochromatic
#121A04 #182406 #3B580F #5E8C18 #81C121

Accessibility & contrast

On white

8.11
#3B580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3B580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B580F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B580F#FFFFFF#000000##FFFFFF
##3B580F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5101
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#3D544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b580f;
/* rgb */ color: rgb(59, 88, 15);
/* oklch */ color: oklch(42.2% 0.103 129.5);
Tailwind
colors: {
  custom: {
    50: '#748754',
    500: '#3b580f',
    950: '#000000',
  },
}
SCSS
$custom: #3b580f;
$custom-light: #748754;
$custom-dark: #000000;
JSON
{
  "hex": "#3b580f",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 83.836,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.1032,
    "h": 129.5
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#3B580F
secondary
#573192
accent
#3AEE81
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B580F

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

Preview Lab → · Contrast checker → · Palette generator →

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