#3E4908#3E4908

#3E4908 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.3% C 0.085 H 119.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3E4908
RGBrgb(62, 73, 8)
HSLhsl(70, 80%, 16%)
HSVhsv(70, 89%, 29%)
CMYKcmyk(15.1%, 0%, 89%, 71.4%)
CIE-LABlab(28.92, -13.91, 33.98)
CIE-LCHlch(28.92, 36.71, 112.26°)
OKLaboklab(38.25% -0.0417 0.074)
OKLCHoklch(38.25% 0.085 119.4)
XYZxyz(4.4131, 5.8068, 1.1180)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4908 #130849
analogous
#493308 #3E4908 #1D4908
triadic
#3E4908 #083E49 #49083E
tetradic
#3E4908 #084933 #130849 #49081D
square
#3E4908 #084933 #130849 #49081D
split-complementary
#3E4908 #081D49 #330849
monochromatic
#171C03 #171C03 #3E4908 #6D800E #9CB714

Accessibility & contrast

On white

9.72
#3E4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4908
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4908#FFFFFF#000000##FFFFFF
##3E49081.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4D440F
Tritanopia (blue-blind)
#42443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e4908;
/* rgb */ color: rgb(62, 73, 8);
/* oklch */ color: oklch(38.3% 0.085 119.4);
Tailwind
colors: {
  custom: {
    50: '#767b4f',
    500: '#3e4908',
    950: '#000000',
  },
}
SCSS
$custom: #3e4908;
$custom-light: #767b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4908",
  "rgb": {
    "r": 62,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 70.154,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.08496,
    "h": 119.4
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#3E4908
secondary
#362687
accent
#31F753
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3E4908

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

Preview Lab → · Contrast checker → · Palette generator →

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