#3B7212#3B7212

#3B7212 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.136 H 135.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B7212
RGBrgb(59, 114, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 84%, 45%)
CMYKcmyk(48.2%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.77, -34.86, 43.27)
CIE-LCHlch(42.77, 55.56, 128.86°)
OKLaboklab(49.51% -0.0974 0.0955)
OKLCHoklch(49.51% 0.136 135.6)
XYZxyz(7.9299, 13.0076, 2.6650)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7212 #491272
analogous
#6B7212 #3B7212 #127219
triadic
#3B7212 #123B72 #72123B
tetradic
#3B7212 #126B72 #491272 #721912
square
#3B7212 #126B72 #491272 #721912
split-complementary
#3B7212 #191272 #72126B
monochromatic
#0E1A04 #203D0A #3B7212 #56A71A #72DC23

Accessibility & contrast

On white

5.83
#3B7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7212
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7212#FFFFFF#000000##FFFFFF
##3B72121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#396D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b7212;
/* rgb */ color: rgb(59, 114, 18);
/* oklch */ color: oklch(49.5% 0.136 135.6);
Tailwind
colors: {
  custom: {
    50: '#779b5a',
    500: '#3b7212',
    950: '#000000',
  },
}
SCSS
$custom: #3b7212;
$custom-light: #779b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7212",
  "rgb": {
    "r": 59,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 94.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.13643,
    "h": 135.6
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#3B7212
secondary
#7837A9
accent
#38EFA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7212

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

Preview Lab → · Contrast checker → · Palette generator →

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