#3B5A11#3B5A11

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

Color values

HEX#3B5A11
RGBrgb(59, 90, 17)
HSLhsl(85, 68%, 21%)
HSVhsv(85, 81%, 35%)
CMYKcmyk(34.4%, 0%, 81.1%, 64.7%)
CIE-LABlab(34.56, -23.84, 35.89)
CIE-LCHlch(34.56, 43.09, 123.59°)
OKLaboklab(42.79% -0.0678 0.0799)
OKLCHoklch(42.79% 0.105 130.3)
XYZxyz(5.5609, 8.2824, 1.8359)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5A11 #30115A
analogous
#5A5411 #3B5A11 #175A11
triadic
#3B5A11 #113B5A #5A113B
tetradic
#3B5A11 #115A54 #30115A #5A1117
square
#3B5A11 #115A54 #30115A #5A1117
split-complementary
#3B5A11 #11175A #54115A
monochromatic
#111A05 #192707 #3B5A11 #5D8D1B #7EC124

Accessibility & contrast

On white

7.90
#3B5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B5A11
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5A11#FFFFFF#000000##FFFFFF
##3B5A111.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5a11;
/* rgb */ color: rgb(59, 90, 17);
/* oklch */ color: oklch(42.8% 0.105 130.3);
Tailwind
colors: {
  custom: {
    50: '#748955',
    500: '#3b5a11',
    950: '#000000',
  },
}
SCSS
$custom: #3b5a11;
$custom-light: #748955;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5a11",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 85.479,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.10477,
    "h": 130.3
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#3B5A11
secondary
#5C3493
accent
#3DEB87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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