#3B5F12#3B5F12

#3B5F12 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.2% C 0.111 H 131.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3B5F12
RGBrgb(59, 95, 18)
HSLhsl(88, 68%, 22%)
HSVhsv(88, 81%, 37%)
CMYKcmyk(37.9%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.29, -26.23, 37.17)
CIE-LCHlch(36.29, 45.50, 125.21°)
OKLaboklab(44.19% -0.0742 0.0827)
OKLCHoklch(44.19% 0.111 131.9)
XYZxyz(6.0050, 9.1577, 2.0234)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5F12 #36125F
analogous
#5F5D12 #3B5F12 #145F12
triadic
#3B5F12 #123B5F #5F123B
tetradic
#3B5F12 #125F5D #36125F #5F1214
square
#3B5F12 #125F5D #36125F #5F1214
split-complementary
#3B5F12 #12145F #5D125F
monochromatic
#101A05 #1B2C08 #3B5F12 #5B921C #7BC625

Accessibility & contrast

On white

7.42
#3B5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3B5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5F12
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5F12#FFFFFF#000000##FFFFFF
##3B5F121.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5f12;
/* rgb */ color: rgb(59, 95, 18);
/* oklch */ color: oklch(44.2% 0.111 131.9);
Tailwind
colors: {
  custom: {
    50: '#758c57',
    500: '#3b5f12',
    950: '#000000',
  },
}
SCSS
$custom: #3b5f12;
$custom-light: #758c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5f12",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 88.052,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.11112,
    "h": 131.9
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#3B5F12
secondary
#633697
accent
#3DEB8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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