#3E7918#3E7918

#3E7918 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.141 H 136.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3E7918
RGBrgb(62, 121, 24)
HSLhsl(96, 67%, 28%)
HSVhsv(96, 80%, 47%)
CMYKcmyk(48.8%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.31, -36.46, 43.73)
CIE-LCHlch(45.31, 56.94, 129.82°)
OKLaboklab(51.64% -0.1016 0.0974)
OKLCHoklch(51.64% 0.141 136.2)
XYZxyz(8.9886, 14.7642, 3.2401)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7918 #531879
analogous
#6E7918 #3E7918 #187922
triadic
#3E7918 #183E79 #79183E
tetradic
#3E7918 #186E79 #531879 #792218
square
#3E7918 #186E79 #531879 #792218
split-complementary
#3E7918 #221879 #79186E
monochromatic
#0D1A05 #24460E #3E7918 #58AC22 #74D735

Accessibility & contrast

On white

5.31
#3E7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3E7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7918
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7918#FFFFFF#000000##FFFFFF
##3E79181.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e7918;
/* rgb */ color: rgb(62, 121, 24);
/* oklch */ color: oklch(51.6% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#7aa05d',
    500: '#3e7918',
    950: '#000000',
  },
}
SCSS
$custom: #3e7918;
$custom-light: #7aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7918",
  "rgb": {
    "r": 62,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 96.495,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.1407,
    "h": 136.2
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#3E7918
secondary
#823FAE
accent
#3EEAA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E7918

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

Preview Lab → · Contrast checker → · Palette generator →

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