#3E7F11#3E7F11

#3E7F11 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.152 H 136.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7F11
RGBrgb(62, 127, 17)
HSLhsl(95, 76%, 28%)
HSVhsv(95, 87%, 50%)
CMYKcmyk(51.2%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.29, -39.33, 47.69)
CIE-LCHlch(47.29, 61.82, 129.52°)
OKLaboklab(53.26% -0.1097 0.1046)
OKLCHoklch(53.26% 0.152 136.4)
XYZxyz(9.6769, 16.2427, 3.1554)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7F11 #52117F
analogous
#757F11 #3E7F11 #117F1B
triadic
#3E7F11 #113E7F #7F113E
tetradic
#3E7F11 #11757F #52117F #7F1B11
square
#3E7F11 #11757F #52117F #7F1B11
split-complementary
#3E7F11 #1B117F #7F1175
monochromatic
#0D1B04 #24490A #3E7F11 #58B518 #74E228

Accessibility & contrast

On white

4.94
#3E7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3E7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7F11
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7F11#FFFFFF#000000##FFFFFF
##3E7F111.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#3B7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3e7f11;
/* rgb */ color: rgb(62, 127, 17);
/* oklch */ color: oklch(53.3% 0.152 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba55b',
    500: '#3e7f11',
    950: '#000000',
  },
}
SCSS
$custom: #3e7f11;
$custom-light: #7ba55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7f11",
  "rgb": {
    "r": 62,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 95.455,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.15157,
    "h": 136.4
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#3E7F11
secondary
#8137B5
accent
#35F3A5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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