#3B6311#3B6311

#3B6311 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.3% C 0.117 H 132.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3B6311
RGBrgb(59, 99, 17)
HSLhsl(89, 71%, 23%)
HSVhsv(89, 83%, 39%)
CMYKcmyk(40.4%, 0%, 82.8%, 61.2%)
CIE-LABlab(37.65, -28.19, 38.83)
CIE-LCHlch(37.65, 47.98, 125.98°)
OKLaboklab(45.31% -0.0796 0.086)
OKLCHoklch(45.31% 0.117 132.8)
XYZxyz(6.3666, 9.8937, 2.1044)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6311 #391163
analogous
#636211 #3B6311 #126311
triadic
#3B6311 #113B63 #63113B
tetradic
#3B6311 #116362 #391163 #631112
square
#3B6311 #116362 #391163 #631112
split-complementary
#3B6311 #111263 #621163
monochromatic
#101A04 #1C2F08 #3B6311 #5A971A #79CB23

Accessibility & contrast

On white

7.05
#3B6311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3B6311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B6311
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6311#FFFFFF#000000##FFFFFF
##3B63111.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#3B5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b6311;
/* rgb */ color: rgb(59, 99, 17);
/* oklch */ color: oklch(45.3% 0.117 132.8);
Tailwind
colors: {
  custom: {
    50: '#758f57',
    500: '#3b6311',
    950: '#000000',
  },
}
SCSS
$custom: #3b6311;
$custom-light: #758f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6311",
  "rgb": {
    "r": 59,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 89.268,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.11718,
    "h": 132.8
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#3B6311
secondary
#67349B
accent
#3AED92
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B6311

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

Preview Lab → · Contrast checker → · Palette generator →

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