#3E7318#3E7318

#3E7318 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.133 H 135.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3E7318
RGBrgb(62, 115, 24)
HSLhsl(95, 65%, 27%)
HSVhsv(95, 79%, 45%)
CMYKcmyk(46.1%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.29, -33.88, 41.78)
CIE-LCHlch(43.29, 53.79, 129.04°)
OKLaboklab(49.98% -0.0946 0.0933)
OKLCHoklch(49.98% 0.133 135.4)
XYZxyz(8.2820, 13.3511, 3.0046)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7318 #4D1873
analogous
#6C7318 #3E7318 #18731F
triadic
#3E7318 #183E73 #73183E
tetradic
#3E7318 #186C73 #4D1873 #731F18
square
#3E7318 #186C73 #4D1873 #731F18
split-complementary
#3E7318 #1F1873 #73186C
monochromatic
#0E1905 #23400D #3E7318 #59A623 #75D431

Accessibility & contrast

On white

5.72
#3E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3E7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7318
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7318#FFFFFF#000000##FFFFFF
##3E73181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#3C6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7318;
/* rgb */ color: rgb(62, 115, 24);
/* oklch */ color: oklch(50.0% 0.133 135.4);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3e7318',
    950: '#000000',
  },
}
SCSS
$custom: #3e7318;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7318",
  "rgb": {
    "r": 62,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 94.945,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.13288,
    "h": 135.4
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#3E7318
secondary
#7C3FA8
accent
#3FE8A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7318

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

Preview Lab → · Contrast checker → · Palette generator →

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