#3D5A0F#3D5A0F

#3D5A0F is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.105 H 129.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3D5A0F
RGBrgb(61, 90, 15)
HSLhsl(83, 71%, 21%)
HSVhsv(83, 83%, 35%)
CMYKcmyk(32.2%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.68, -23.11, 36.78)
CIE-LCHlch(34.68, 43.44, 122.14°)
OKLaboklab(42.91% -0.0661 0.0813)
OKLCHoklch(42.91% 0.105 129.1)
XYZxyz(5.6668, 8.3388, 1.7628)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5A0F #2C0F5A
analogous
#5A510F #3D5A0F #175A0F
triadic
#3D5A0F #0F3D5A #5A0F3D
tetradic
#3D5A0F #0F5A51 #2C0F5A #5A0F17
square
#3D5A0F #0F5A51 #2C0F5A #5A0F17
split-complementary
#3D5A0F #0F175A #510F5A
monochromatic
#121A04 #192606 #3D5A0F #618E18 #84C320

Accessibility & contrast

On white

7.87
#3D5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5A0F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5A0F#FFFFFF#000000##FFFFFF
##3D5A0F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#3F564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d5a0f;
/* rgb */ color: rgb(61, 90, 15);
/* oklch */ color: oklch(42.9% 0.105 129.1);
Tailwind
colors: {
  custom: {
    50: '#768954',
    500: '#3d5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #3d5a0f;
$custom-light: #768954;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5a0f",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 83.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.10481,
    "h": 129.1
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#3D5A0F
secondary
#573194
accent
#3AEE7F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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