#3E4F18#3E4F18

#3E4F18 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.082 H 124.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3E4F18
RGBrgb(62, 79, 24)
HSLhsl(79, 53%, 20%)
HSVhsv(79, 70%, 31%)
CMYKcmyk(21.5%, 0%, 69.6%, 69%)
CIE-LABlab(31.07, -16.21, 29.35)
CIE-LCHlch(31.07, 33.52, 118.91°)
OKLaboklab(40.02% -0.0464 0.0672)
OKLCHoklch(40.02% 0.082 124.6)
XYZxyz(4.9475, 6.6820, 1.8931)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4F18 #29184F
analogous
#4F4418 #3E4F18 #234F18
triadic
#3E4F18 #183E4F #4F183E
tetradic
#3E4F18 #184F44 #29184F #4F1823
square
#3E4F18 #184F44 #29184F #4F1823
split-complementary
#3E4F18 #18234F #44184F
monochromatic
#121707 #19200A #3E4F18 #637E26 #88AD35

Accessibility & contrast

On white

8.99
#3E4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3E4F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4F18
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4F18#FFFFFF#000000##FFFFFF
##3E4F181.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#414B44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e4f18;
/* rgb */ color: rgb(62, 79, 24);
/* oklch */ color: oklch(40.0% 0.082 124.6);
Tailwind
colors: {
  custom: {
    50: '#758058',
    500: '#3e4f18',
    950: '#000000',
  },
}
SCSS
$custom: #3e4f18;
$custom-light: #758058;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4f18",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 78.545,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.08169,
    "h": 124.6
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#3E4F18
secondary
#533D86
accent
#4BDD78
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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