#3E8416#3E8416

#3E8416 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.156 H 137.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3E8416
RGBrgb(62, 132, 22)
HSLhsl(98, 71%, 30%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(53%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.99, -41.10, 47.82)
CIE-LCHlch(48.99, 63.06, 130.68°)
OKLaboklab(54.66% -0.1142 0.1056)
OKLCHoklch(54.66% 0.156 137.2)
XYZxyz(10.3824, 17.5838, 3.6058)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8416 #5C1684
analogous
#758416 #3E8416 #168425
triadic
#3E8416 #163E84 #84163E
tetradic
#3E8416 #167584 #5C1684 #842516
square
#3E8416 #167584 #5C1684 #842516
split-complementary
#3E8416 #251684 #841675
monochromatic
#0D1B05 #25500D #3E8416 #57B81F #73DE37

Accessibility & contrast

On white

4.65
#3E8416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3E8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8416
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8416#FFFFFF#000000##FFFFFF
##3E84161.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#397F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8416;
/* rgb */ color: rgb(62, 132, 22);
/* oklch */ color: oklch(54.7% 0.156 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3e8416',
    950: '#000000',
  },
}
SCSS
$custom: #3e8416;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8416",
  "rgb": {
    "r": 62,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 98.182,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.15553,
    "h": 137.2
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#3E8416
secondary
#8C3DB8
accent
#3AEEAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8416

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

Preview Lab → · Contrast checker → · Palette generator →

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