#3B6712#3B6712

#3B6712 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.122 H 133.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3B6712
RGBrgb(59, 103, 18)
HSLhsl(91, 70%, 24%)
HSVhsv(91, 83%, 40%)
CMYKcmyk(42.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.03, -29.99, 39.78)
CIE-LCHlch(39.03, 49.81, 127.01°)
OKLaboklab(46.43% -0.0843 0.0882)
OKLCHoklch(46.43% 0.122 133.7)
XYZxyz(6.7629, 10.6736, 2.2760)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6712 #3E1267
analogous
#656712 #3B6712 #126713
triadic
#3B6712 #123B67 #67123B
tetradic
#3B6712 #126567 #3E1267 #671312
square
#3B6712 #126567 #3E1267 #671312
split-complementary
#3B6712 #131267 #671265
monochromatic
#0F1A05 #1D3309 #3B6712 #599B1B #77CF24

Accessibility & contrast

On white

6.70
#3B6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3B6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6712
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6712#FFFFFF#000000##FFFFFF
##3B67121.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#3B6357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3b6712;
/* rgb */ color: rgb(59, 103, 18);
/* oklch */ color: oklch(46.4% 0.122 133.7);
Tailwind
colors: {
  custom: {
    50: '#769358',
    500: '#3b6712',
    950: '#000000',
  },
}
SCSS
$custom: #3b6712;
$custom-light: #769358;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6712",
  "rgb": {
    "r": 59,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 91.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.12202,
    "h": 133.7
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#3B6712
secondary
#6C369F
accent
#3BED97
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6712

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

Preview Lab → · Contrast checker → · Palette generator →

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