#3E6218#3E6218

#3E6218 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.110 H 132.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3E6218
RGBrgb(62, 98, 24)
HSLhsl(89, 61%, 24%)
HSVhsv(89, 76%, 38%)
CMYKcmyk(36.7%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.53, -26.05, 36.08)
CIE-LCHlch(37.53, 44.50, 125.83°)
OKLaboklab(45.27% -0.0734 0.0814)
OKLCHoklch(45.27% 0.11 132.1)
XYZxyz(6.5191, 9.8252, 2.4169)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6218 #3C1862
analogous
#626118 #3E6218 #196218
triadic
#3E6218 #183E62 #62183E
tetradic
#3E6218 #186261 #3C1862 #621819
square
#3E6218 #186261 #3C1862 #621819
split-complementary
#3E6218 #181962 #611862
monochromatic
#101906 #1F310C #3E6218 #5D9324 #7CC430

Accessibility & contrast

On white

7.08
#3E6218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3E6218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E6218
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6218#FFFFFF#000000##FFFFFF
##3E62181.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#3F5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e6218;
/* rgb */ color: rgb(62, 98, 24);
/* oklch */ color: oklch(45.3% 0.110 132.1);
Tailwind
colors: {
  custom: {
    50: '#778f5a',
    500: '#3e6218',
    950: '#000000',
  },
}
SCSS
$custom: #3e6218;
$custom-light: #778f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6218",
  "rgb": {
    "r": 62,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 89.189,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.1096,
    "h": 132.1
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#3E6218
secondary
#6A3E98
accent
#44E492
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3E6218

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

Preview Lab → · Contrast checker → · Palette generator →

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