#3E8418#3E8418

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

Color values

HEX#3E8418
RGBrgb(62, 132, 24)
HSLhsl(99, 69%, 31%)
HSVhsv(99, 82%, 52%)
CMYKcmyk(53%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.00, -40.99, 47.22)
CIE-LCHlch(49.00, 62.53, 130.96°)
OKLaboklab(54.67% -0.1137 0.1047)
OKLCHoklch(54.67% 0.155 137.4)
XYZxyz(10.4024, 17.5918, 3.7114)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8418 #5E1884
analogous
#748418 #3E8418 #188428
triadic
#3E8418 #183E84 #84183E
tetradic
#3E8418 #187484 #5E1884 #842818
square
#3E8418 #187484 #5E1884 #842818
split-complementary
#3E8418 #281884 #841874
monochromatic
#0D1C05 #26500F #3E8418 #56B821 #73DB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8418#FFFFFF#000000##FFFFFF
##3E84181.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)
#807225
Tritanopia (blue-blind)
#397F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8418;
/* rgb */ color: rgb(62, 132, 24);
/* oklch */ color: oklch(54.7% 0.155 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba85f',
    500: '#3e8418',
    950: '#000000',
  },
}
SCSS
$custom: #3e8418;
$custom-light: #7ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8418",
  "rgb": {
    "r": 62,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 98.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.15457,
    "h": 137.4
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#3E8418
secondary
#8E40B8
accent
#3CECAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8418

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

Preview Lab → · Contrast checker → · Palette generator →

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