#3B5915#3B5915

#3B5915 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.101 H 130.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3B5915
RGBrgb(59, 89, 21)
HSLhsl(86, 62%, 22%)
HSVhsv(86, 76%, 35%)
CMYKcmyk(33.7%, 0%, 76.4%, 65.1%)
CIE-LABlab(34.25, -23.06, 33.97)
CIE-LCHlch(34.25, 41.06, 124.17°)
OKLaboklab(42.54% -0.0653 0.0765)
OKLCHoklch(42.54% 0.101 130.5)
XYZxyz(5.5113, 8.1285, 1.9879)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5915 #331559
analogous
#595515 #3B5915 #195915
triadic
#3B5915 #153B59 #59153B
tetradic
#3B5915 #155955 #331559 #591519
square
#3B5915 #155955 #331559 #591519
split-complementary
#3B5915 #151959 #551559
monochromatic
#101906 #1A2709 #3B5915 #5C8B21 #7DBC2C

Accessibility & contrast

On white

8.00
#3B5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B5915
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5915#FFFFFF#000000##FFFFFF
##3B59151.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5915;
/* rgb */ color: rgb(59, 89, 21);
/* oklch */ color: oklch(42.5% 0.101 130.5);
Tailwind
colors: {
  custom: {
    50: '#748857',
    500: '#3b5915',
    950: '#000000',
  },
}
SCSS
$custom: #3b5915;
$custom-light: #748857;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5915",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 86.471,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.10063,
    "h": 130.5
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#3B5915
secondary
#603991
accent
#43E58A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5915

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

Preview Lab → · Contrast checker → · Palette generator →

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