#3A5911#3A5911

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

Color values

HEX#3A5911
RGBrgb(58, 89, 17)
HSLhsl(86, 68%, 21%)
HSVhsv(86, 81%, 35%)
CMYKcmyk(34.8%, 0%, 80.9%, 65.1%)
CIE-LABlab(34.16, -23.77, 35.48)
CIE-LCHlch(34.16, 42.71, 123.81°)
OKLaboklab(42.44% -0.0675 0.079)
OKLCHoklch(42.44% 0.104 130.5)
XYZxyz(5.4184, 8.0846, 1.8052)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5911 #301159
analogous
#595411 #3A5911 #165911
triadic
#3A5911 #113A59 #59113A
tetradic
#3A5911 #115954 #301159 #591116
square
#3A5911 #115954 #301159 #591116
split-complementary
#3A5911 #111659 #541159
monochromatic
#111A05 #192607 #3A5911 #5B8C1B #7DC025

Accessibility & contrast

On white

8.02
#3A5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A5911
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5911#FFFFFF#000000##FFFFFF
##3A59111.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5203
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#3B554B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a5911;
/* rgb */ color: rgb(58, 89, 17);
/* oklch */ color: oklch(42.4% 0.104 130.5);
Tailwind
colors: {
  custom: {
    50: '#738855',
    500: '#3a5911',
    950: '#000000',
  },
}
SCSS
$custom: #3a5911;
$custom-light: #738855;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5911",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 85.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.10394,
    "h": 130.5
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#3A5911
secondary
#5C3492
accent
#3DEB88
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5911

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

Preview Lab → · Contrast checker → · Palette generator →

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