#3E7A18#3E7A18

#3E7A18 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.142 H 136.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3E7A18
RGBrgb(62, 122, 24)
HSLhsl(97, 67%, 29%)
HSVhsv(97, 80%, 48%)
CMYKcmyk(49.2%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.65, -36.89, 44.05)
CIE-LCHlch(45.65, 57.46, 129.94°)
OKLaboklab(51.92% -0.1027 0.098)
OKLCHoklch(51.92% 0.142 136.3)
XYZxyz(9.1108, 15.0085, 3.2808)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7A18 #54187A
analogous
#6F7A18 #3E7A18 #187A23
triadic
#3E7A18 #183E7A #7A183E
tetradic
#3E7A18 #186F7A #54187A #7A2318
square
#3E7A18 #186F7A #54187A #7A2318
split-complementary
#3E7A18 #23187A #7A186F
monochromatic
#0D1A05 #24470E #3E7A18 #58AD22 #74D735

Accessibility & contrast

On white

5.25
#3E7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3E7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7A18
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7A18#FFFFFF#000000##FFFFFF
##3E7A181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#3B7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e7a18;
/* rgb */ color: rgb(62, 122, 24);
/* oklch */ color: oklch(51.9% 0.142 136.3);
Tailwind
colors: {
  custom: {
    50: '#7aa15d',
    500: '#3e7a18',
    950: '#000000',
  },
}
SCSS
$custom: #3e7a18;
$custom-light: #7aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7a18",
  "rgb": {
    "r": 62,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 96.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.14199,
    "h": 136.3
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#3E7A18
secondary
#833FAF
accent
#3EEAA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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