#3E8518#3E8518

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

Color values

HEX#3E8518
RGBrgb(62, 133, 24)
HSLhsl(99, 69%, 31%)
HSVhsv(99, 82%, 52%)
CMYKcmyk(53.4%, 0%, 82%, 47.8%)
CIE-LABlab(49.33, -41.39, 47.53)
CIE-LCHlch(49.33, 63.03, 131.05°)
OKLaboklab(54.95% -0.1148 0.1053)
OKLCHoklch(54.95% 0.156 137.5)
XYZxyz(10.5387, 17.8643, 3.7568)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8518 #5F1885
analogous
#748518 #3E8518 #188529
triadic
#3E8518 #183E85 #85183E
tetradic
#3E8518 #187485 #5F1885 #852918
square
#3E8518 #187485 #5F1885 #852918
split-complementary
#3E8518 #291885 #851874
monochromatic
#0E1D05 #26510F #3E8518 #56B921 #73DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8518#FFFFFF#000000##FFFFFF
##3E85181.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)
#807325
Tritanopia (blue-blind)
#398071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3e8518;
/* rgb */ color: rgb(62, 133, 24);
/* oklch */ color: oklch(54.9% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba95f',
    500: '#3e8518',
    950: '#000000',
  },
}
SCSS
$custom: #3e8518;
$custom-light: #7ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8518",
  "rgb": {
    "r": 62,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 99.083,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.15581,
    "h": 137.5
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#3E8518
secondary
#8F40B9
accent
#3CECAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8518

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

Preview Lab → · Contrast checker → · Palette generator →

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