#3B5B11#3B5B11

#3B5B11 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.1% C 0.106 H 130.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3B5B11
RGBrgb(59, 91, 17)
HSLhsl(86, 69%, 21%)
HSVhsv(86, 81%, 36%)
CMYKcmyk(35.2%, 0%, 81.3%, 64.3%)
CIE-LABlab(34.91, -24.34, 36.22)
CIE-LCHlch(34.91, 43.64, 123.90°)
OKLaboklab(43.07% -0.0692 0.0806)
OKLCHoklch(43.07% 0.106 130.6)
XYZxyz(5.6459, 8.4523, 1.8642)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5B11 #31115B
analogous
#5B5611 #3B5B11 #165B11
triadic
#3B5B11 #113B5B #5B113B
tetradic
#3B5B11 #115B56 #31115B #5B1116
square
#3B5B11 #115B56 #31115B #5B1116
split-complementary
#3B5B11 #11165B #56115B
monochromatic
#111A05 #1A2707 #3B5B11 #5C8F1B #7EC224

Accessibility & contrast

On white

7.81
#3B5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3B5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5B11
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5B11#FFFFFF#000000##FFFFFF
##3B5B111.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5402
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#3C574D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b5b11;
/* rgb */ color: rgb(59, 91, 17);
/* oklch */ color: oklch(43.1% 0.106 130.6);
Tailwind
colors: {
  custom: {
    50: '#748955',
    500: '#3b5b11',
    950: '#000000',
  },
}
SCSS
$custom: #3b5b11;
$custom-light: #748955;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5b11",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 85.946,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.10617,
    "h": 130.6
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#3B5B11
secondary
#5D3494
accent
#3CEB88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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