#3E7211#3E7211

#3E7211 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.135 H 134.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3E7211
RGBrgb(62, 114, 17)
HSLhsl(92, 74%, 26%)
HSVhsv(92, 85%, 45%)
CMYKcmyk(45.6%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.91, -33.85, 43.75)
CIE-LCHlch(42.91, 55.32, 127.73°)
OKLaboklab(49.66% -0.095 0.0963)
OKLCHoklch(49.66% 0.135 134.6)
XYZxyz(8.1049, 13.0988, 2.6315)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7211 #451172
analogous
#6E7211 #3E7211 #117214
triadic
#3E7211 #113E72 #72113E
tetradic
#3E7211 #116E72 #451172 #721411
square
#3E7211 #116E72 #451172 #721411
split-complementary
#3E7211 #141172 #72116E
monochromatic
#0E1B04 #213D09 #3E7211 #5BA719 #78DD21

Accessibility & contrast

On white

5.80
#3E7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7211
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7211#FFFFFF#000000##FFFFFF
##3E72111.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7211;
/* rgb */ color: rgb(62, 114, 17);
/* oklch */ color: oklch(49.7% 0.135 134.6);
Tailwind
colors: {
  custom: {
    50: '#799b59',
    500: '#3e7211',
    950: '#000000',
  },
}
SCSS
$custom: #3e7211;
$custom-light: #799b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7211",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 92.165,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.13527,
    "h": 134.6
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#3E7211
secondary
#7436A9
accent
#37F19B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7211

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

Preview Lab → · Contrast checker → · Palette generator →

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