#3E7D18#3E7D18

#3E7D18 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.7% C 0.146 H 136.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D18
RGBrgb(62, 125, 24)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(50.4%, 0%, 80.8%, 51%)
CIE-LABlab(46.65, -38.14, 45.01)
CIE-LCHlch(46.65, 59.00, 130.28°)
OKLaboklab(52.75% -0.1061 0.1001)
OKLCHoklch(52.75% 0.146 136.7)
XYZxyz(9.4848, 15.7567, 3.4055)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D18 #57187D
analogous
#717D18 #3E7D18 #187D25
triadic
#3E7D18 #183E7D #7D183E
tetradic
#3E7D18 #18717D #57187D #7D2518
square
#3E7D18 #18717D #57187D #7D2518
split-complementary
#3E7D18 #25187D #7D1871
monochromatic
#0D1A05 #254A0E #3E7D18 #57B022 #74D937

Accessibility & contrast

On white

5.06
#3E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D18#FFFFFF#000000##FFFFFF
##3E7D181.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#3B786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d18;
/* rgb */ color: rgb(62, 125, 24);
/* oklch */ color: oklch(52.7% 0.146 136.7);
Tailwind
colors: {
  custom: {
    50: '#7aa35e',
    500: '#3e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d18;
$custom-light: #7aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d18",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 97.426,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.14582,
    "h": 136.7
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#3E7D18
secondary
#873FB2
accent
#3DEBA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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