#3A5D0F#3A5D0F

#3A5D0F is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.111 H 131.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3A5D0F
RGBrgb(58, 93, 15)
HSLhsl(87, 72%, 21%)
HSVhsv(87, 84%, 36%)
CMYKcmyk(37.6%, 0%, 83.9%, 63.5%)
CIE-LABlab(35.52, -25.85, 37.50)
CIE-LCHlch(35.52, 45.55, 124.58°)
OKLaboklab(43.55% -0.0733 0.0829)
OKLCHoklch(43.55% 0.111 131.5)
XYZxyz(5.7454, 8.7625, 1.8405)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D0F #320F5D
analogous
#5D590F #3A5D0F #135D0F
triadic
#3A5D0F #0F3A5D #5D0F3A
tetradic
#3A5D0F #0F5D59 #320F5D #5D0F13
square
#3A5D0F #0F5D59 #320F5D #5D0F13
split-complementary
#3A5D0F #0F135D #590F5D
monochromatic
#101A04 #192806 #3A5D0F #5B9217 #7CC620

Accessibility & contrast

On white

7.63
#3A5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3A5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5D0F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D0F#FFFFFF#000000##FFFFFF
##3A5D0F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#3B594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5d0f;
/* rgb */ color: rgb(58, 93, 15);
/* oklch */ color: oklch(43.5% 0.111 131.5);
Tailwind
colors: {
  custom: {
    50: '#748b55',
    500: '#3a5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d0f;
$custom-light: #748b55;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d0f",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 86.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.11069,
    "h": 131.5
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#3A5D0F
secondary
#5F3196
accent
#39EF8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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