#3B5B10#3B5B10

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

Color values

HEX#3B5B10
RGBrgb(59, 91, 16)
HSLhsl(86, 70%, 21%)
HSVhsv(86, 82%, 36%)
CMYKcmyk(35.2%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.90, -24.40, 36.59)
CIE-LCHlch(34.90, 43.98, 123.70°)
OKLaboklab(43.06% -0.0694 0.0811)
OKLCHoklch(43.06% 0.107 130.5)
XYZxyz(5.6382, 8.4492, 1.8239)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5B10 #30105B
analogous
#5B5510 #3B5B10 #155B10
triadic
#3B5B10 #103B5B #5B103B
tetradic
#3B5B10 #105B55 #30105B #5B1015
square
#3B5B10 #105B55 #30105B #5B1015
split-complementary
#3B5B10 #10155B #55105B
monochromatic
#111A05 #192707 #3B5B10 #5D8F19 #7EC322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B5B10#FFFFFF#000000##FFFFFF
##3B5B101.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)
#605401
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#3D574D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b5b10;
/* rgb */ color: rgb(59, 91, 16);
/* oklch */ color: oklch(43.1% 0.107 130.5);
Tailwind
colors: {
  custom: {
    50: '#748955',
    500: '#3b5b10',
    950: '#000000',
  },
}
SCSS
$custom: #3b5b10;
$custom-light: #748955;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5b10",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 85.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.10678,
    "h": 130.5
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#3B5B10
secondary
#5C3394
accent
#3BED87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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