#3E8516#3E8516

#3E8516 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 54.9% C 0.157 H 137.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3E8516
RGBrgb(62, 133, 22)
HSLhsl(98, 72%, 30%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(53.4%, 0%, 83.5%, 47.8%)
CIE-LABlab(49.32, -41.50, 48.13)
CIE-LCHlch(49.32, 63.55, 130.77°)
OKLaboklab(54.94% -0.1152 0.1063)
OKLCHoklch(54.94% 0.157 137.3)
XYZxyz(10.5186, 17.8563, 3.6512)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8516 #5D1685
analogous
#768516 #3E8516 #168525
triadic
#3E8516 #163E85 #85163E
tetradic
#3E8516 #167685 #5D1685 #852516
square
#3E8516 #167685 #5D1685 #852516
split-complementary
#3E8516 #251685 #851676
monochromatic
#0D1C05 #26500D #3E8516 #56BA1F #73DE37

Accessibility & contrast

On white

4.59
#3E8516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3E8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8516
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8516#FFFFFF#000000##FFFFFF
##3E85161.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#398071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3e8516;
/* rgb */ color: rgb(62, 133, 22);
/* oklch */ color: oklch(54.9% 0.157 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba95e',
    500: '#3e8516',
    950: '#000000',
  },
}
SCSS
$custom: #3e8516;
$custom-light: #7ba95e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8516",
  "rgb": {
    "r": 62,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 98.378,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.15674,
    "h": 137.3
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#3E8516
secondary
#8D3EB9
accent
#39EEAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8516

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

Preview Lab → · Contrast checker → · Palette generator →

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