#3E8918#3E8918

#3E8918 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.0% C 0.161 H 137.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3E8918
RGBrgb(62, 137, 24)
HSLhsl(100, 70%, 32%)
HSVhsv(100, 82%, 54%)
CMYKcmyk(54.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.66, -42.97, 48.77)
CIE-LCHlch(50.66, 65.00, 131.38°)
OKLaboklab(56.05% -0.119 0.1079)
OKLCHoklch(56.05% 0.161 137.8)
XYZxyz(11.0968, 18.9805, 3.9428)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8918 #631889
analogous
#778918 #3E8918 #18892B
triadic
#3E8918 #183E89 #89183E
tetradic
#3E8918 #187789 #631889 #892B18
square
#3E8918 #187789 #631889 #892B18
split-complementary
#3E8918 #2B1889 #891877
monochromatic
#0F2106 #26550F #3E8918 #56BD21 #74DD3E

Accessibility & contrast

On white

4.38
#3E8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3E8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8918
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8918#FFFFFF#000000##000000
##3E89181.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#388474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e8918;
/* rgb */ color: rgb(62, 137, 24);
/* oklch */ color: oklch(56.0% 0.161 137.8);
Tailwind
colors: {
  custom: {
    50: '#7cac60',
    500: '#3e8918',
    950: '#000000',
  },
}
SCSS
$custom: #3e8918;
$custom-light: #7cac60;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8918",
  "rgb": {
    "r": 62,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 99.823,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.16068,
    "h": 137.8
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#3E8918
secondary
#9340BD
accent
#3BEDB1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8918

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

Preview Lab → · Contrast checker → · Palette generator →

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