#3E7C18#3E7C18

#3E7C18 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.145 H 136.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3E7C18
RGBrgb(62, 124, 24)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(50%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.32, -37.72, 44.69)
CIE-LCHlch(46.32, 58.48, 130.17°)
OKLaboklab(52.47% -0.105 0.0994)
OKLCHoklch(52.47% 0.145 136.6)
XYZxyz(9.3589, 15.5047, 3.3635)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7C18 #56187C
analogous
#707C18 #3E7C18 #187C24
triadic
#3E7C18 #183E7C #7C183E
tetradic
#3E7C18 #18707C #56187C #7C2418
square
#3E7C18 #18707C #56187C #7C2418
split-complementary
#3E7C18 #24187C #7C1870
monochromatic
#0D1A05 #24490E #3E7C18 #58AF22 #74D836

Accessibility & contrast

On white

5.12
#3E7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3E7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7C18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7C18#FFFFFF#000000##FFFFFF
##3E7C181.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#3B7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e7c18;
/* rgb */ color: rgb(62, 124, 24);
/* oklch */ color: oklch(52.5% 0.145 136.6);
Tailwind
colors: {
  custom: {
    50: '#7aa25e',
    500: '#3e7c18',
    950: '#000000',
  },
}
SCSS
$custom: #3e7c18;
$custom-light: #7aa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7c18",
  "rgb": {
    "r": 62,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 97.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.14454,
    "h": 136.6
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#3E7C18
secondary
#863FB1
accent
#3DEAA9
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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