#3B5912#3B5912

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

Color values

HEX#3B5912
RGBrgb(59, 89, 18)
HSLhsl(85, 66%, 21%)
HSVhsv(85, 80%, 35%)
CMYKcmyk(33.7%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.23, -23.28, 35.18)
CIE-LCHlch(34.23, 42.19, 123.49°)
OKLaboklab(42.51% -0.0662 0.0785)
OKLCHoklch(42.51% 0.103 130.1)
XYZxyz(5.4852, 8.1181, 1.8501)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5912 #301259
analogous
#595312 #3B5912 #175912
triadic
#3B5912 #123B59 #59123B
tetradic
#3B5912 #125953 #301259 #591217
square
#3B5912 #125953 #301259 #591217
split-complementary
#3B5912 #121759 #531259
monochromatic
#111905 #192608 #3B5912 #5D8C1C #7EBF27

Accessibility & contrast

On white

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

On black

2.62
#3B5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3B5912#FFFFFF#000000##FFFFFF
##3B59121.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#3D554B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b5912;
/* rgb */ color: rgb(59, 89, 18);
/* oklch */ color: oklch(42.5% 0.103 130.1);
Tailwind
colors: {
  custom: {
    50: '#748856',
    500: '#3b5912',
    950: '#000000',
  },
}
SCSS
$custom: #3b5912;
$custom-light: #748856;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5912",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 85.352,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.10271,
    "h": 130.1
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#3B5912
secondary
#5C3592
accent
#3FE987
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5912

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

Preview Lab → · Contrast checker → · Palette generator →

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