#3E7F18#3E7F18

#3E7F18 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.148 H 136.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7F18
RGBrgb(62, 127, 24)
HSLhsl(98, 68%, 30%)
HSVhsv(98, 81%, 50%)
CMYKcmyk(51.2%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.32, -38.97, 45.64)
CIE-LCHlch(47.32, 60.01, 130.49°)
OKLaboklab(53.3% -0.1083 0.1014)
OKLCHoklch(53.3% 0.148 136.9)
XYZxyz(9.7406, 16.2681, 3.4908)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7F18 #59187F
analogous
#727F18 #3E7F18 #187F26
triadic
#3E7F18 #183E7F #7F183E
tetradic
#3E7F18 #18727F #59187F #7F2618
square
#3E7F18 #18727F #59187F #7F2618
split-complementary
#3E7F18 #26187F #7F1872
monochromatic
#0D1A05 #254C0E #3E7F18 #57B222 #74D938

Accessibility & contrast

On white

4.94
#3E7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3E7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7F18
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7F18#FFFFFF#000000##FFFFFF
##3E7F181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#3A7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3e7f18;
/* rgb */ color: rgb(62, 127, 24);
/* oklch */ color: oklch(53.3% 0.148 136.9);
Tailwind
colors: {
  custom: {
    50: '#7aa55e',
    500: '#3e7f18',
    950: '#000000',
  },
}
SCSS
$custom: #3e7f18;
$custom-light: #7aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7f18",
  "rgb": {
    "r": 62,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 97.864,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.14835,
    "h": 136.9
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#3E7F18
secondary
#893FB3
accent
#3DEBAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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