#3E7518#3E7518

#3E7518 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.5% C 0.136 H 135.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3E7518
RGBrgb(62, 117, 24)
HSLhsl(95, 66%, 28%)
HSVhsv(95, 79%, 46%)
CMYKcmyk(47%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.96, -34.75, 42.44)
CIE-LCHlch(43.96, 54.85, 129.32°)
OKLaboklab(50.53% -0.097 0.0947)
OKLCHoklch(50.53% 0.136 135.7)
XYZxyz(8.5126, 13.8121, 3.0814)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7518 #4F1875
analogous
#6C7518 #3E7518 #187521
triadic
#3E7518 #183E75 #75183E
tetradic
#3E7518 #186C75 #4F1875 #752118
square
#3E7518 #186C75 #4F1875 #752118
split-complementary
#3E7518 #211875 #75186C
monochromatic
#0D1905 #23420E #3E7518 #59A822 #75D532

Accessibility & contrast

On white

5.58
#3E7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3E7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7518
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7518#FFFFFF#000000##FFFFFF
##3E75181.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#3C7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e7518;
/* rgb */ color: rgb(62, 117, 24);
/* oklch */ color: oklch(50.5% 0.136 135.7);
Tailwind
colors: {
  custom: {
    50: '#799d5d',
    500: '#3e7518',
    950: '#000000',
  },
}
SCSS
$custom: #3e7518;
$custom-light: #799d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7518",
  "rgb": {
    "r": 62,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 95.484,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.13551,
    "h": 135.7
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#3E7518
secondary
#7E3FAA
accent
#3FE9A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7518

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

Preview Lab → · Contrast checker → · Palette generator →

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