#3B5C12#3B5C12

#3B5C12 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.107 H 131.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3B5C12
RGBrgb(59, 92, 18)
HSLhsl(87, 67%, 22%)
HSVhsv(87, 80%, 36%)
CMYKcmyk(35.9%, 0%, 80.4%, 63.9%)
CIE-LABlab(35.26, -24.77, 36.18)
CIE-LCHlch(35.26, 43.85, 124.39°)
OKLaboklab(43.35% -0.0702 0.0806)
OKLCHoklch(43.35% 0.107 131.1)
XYZxyz(5.7399, 8.6276, 1.9350)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5C12 #33125C
analogous
#5C5812 #3B5C12 #165C12
triadic
#3B5C12 #123B5C #5C123B
tetradic
#3B5C12 #125C58 #33125C #5C1216
square
#3B5C12 #125C58 #33125C #5C1216
split-complementary
#3B5C12 #12165C #58125C
monochromatic
#101A05 #1A2908 #3B5C12 #5C8F1C #7DC226

Accessibility & contrast

On white

7.70
#3B5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3B5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5C12
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5C12#FFFFFF#000000##FFFFFF
##3B5C121.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605503
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#3C584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b5c12;
/* rgb */ color: rgb(59, 92, 18);
/* oklch */ color: oklch(43.4% 0.107 131.1);
Tailwind
colors: {
  custom: {
    50: '#748a56',
    500: '#3b5c12',
    950: '#000000',
  },
}
SCSS
$custom: #3b5c12;
$custom-light: #748a56;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5c12",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 86.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.10694,
    "h": 131.1
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#3B5C12
secondary
#603594
accent
#3EEA8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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