#3D4908#3D4908

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

Color values

HEX#3D4908
RGBrgb(61, 73, 8)
HSLhsl(71, 80%, 16%)
HSVhsv(71, 89%, 29%)
CMYKcmyk(16.4%, 0%, 89%, 71.4%)
CIE-LABlab(28.84, -14.40, 33.87)
CIE-LCHlch(28.84, 36.81, 113.03°)
OKLaboklab(38.16% -0.043 0.0738)
OKLCHoklch(38.16% 0.085 120.2)
XYZxyz(4.3509, 5.7747, 1.1151)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4908 #140849
analogous
#493408 #3D4908 #1C4908
triadic
#3D4908 #083D49 #49083D
tetradic
#3D4908 #084934 #140849 #49081C
square
#3D4908 #084934 #140849 #49081C
split-complementary
#3D4908 #081C49 #340849
monochromatic
#171C03 #171C03 #3D4908 #6B800E #99B714

Accessibility & contrast

On white

9.74
#3D4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D4908
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4908#FFFFFF#000000##FFFFFF
##3D49081.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d4908;
/* rgb */ color: rgb(61, 73, 8);
/* oklch */ color: oklch(38.2% 0.085 120.2);
Tailwind
colors: {
  custom: {
    50: '#757b4f',
    500: '#3d4908',
    950: '#000000',
  },
}
SCSS
$custom: #3d4908;
$custom-light: #757b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4908",
  "rgb": {
    "r": 61,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 71.077,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.08544,
    "h": 120.2
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#3D4908
secondary
#382687
accent
#31F756
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3D4908

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

Preview Lab → · Contrast checker → · Palette generator →

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