#3B5E12#3B5E12

#3B5E12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.9% C 0.110 H 131.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3B5E12
RGBrgb(59, 94, 18)
HSLhsl(88, 68%, 22%)
HSVhsv(88, 81%, 37%)
CMYKcmyk(37.2%, 0%, 80.9%, 63.1%)
CIE-LABlab(35.94, -25.75, 36.84)
CIE-LCHlch(35.94, 44.95, 124.94°)
OKLaboklab(43.91% -0.0729 0.082)
OKLCHoklch(43.91% 0.11 131.6)
XYZxyz(5.9155, 8.9787, 1.9935)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5E12 #35125E
analogous
#5E5B12 #3B5E12 #155E12
triadic
#3B5E12 #123B5E #5E123B
tetradic
#3B5E12 #125E5B #35125E #5E1215
square
#3B5E12 #125E5B #35125E #5E1215
split-complementary
#3B5E12 #12155E #5B125E
monochromatic
#101A05 #1B2B08 #3B5E12 #5B911C #7BC526

Accessibility & contrast

On white

7.51
#3B5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3B5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5E12
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5E12#FFFFFF#000000##FFFFFF
##3B5E121.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#3C5A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b5e12;
/* rgb */ color: rgb(59, 94, 18);
/* oklch */ color: oklch(43.9% 0.110 131.6);
Tailwind
colors: {
  custom: {
    50: '#758c56',
    500: '#3b5e12',
    950: '#000000',
  },
}
SCSS
$custom: #3b5e12;
$custom-light: #758c56;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5e12",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 87.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.10974,
    "h": 131.6
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#3B5E12
secondary
#623596
accent
#3DEB8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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