#3A5F0F#3A5F0F

#3A5F0F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.113 H 132.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3A5F0F
RGBrgb(58, 95, 15)
HSLhsl(88, 73%, 22%)
HSVhsv(88, 84%, 37%)
CMYKcmyk(38.9%, 0%, 84.2%, 62.7%)
CIE-LABlab(36.21, -26.81, 38.15)
CIE-LCHlch(36.21, 46.63, 125.10°)
OKLaboklab(44.11% -0.0759 0.0843)
OKLCHoklch(44.11% 0.113 132)
XYZxyz(5.9233, 9.1182, 1.8997)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5F0F #340F5F
analogous
#5F5C0F #3A5F0F #125F0F
triadic
#3A5F0F #0F3A5F #5F0F3A
tetradic
#3A5F0F #0F5F5C #340F5F #5F0F12
square
#3A5F0F #0F5F5C #340F5F #5F0F12
split-complementary
#3A5F0F #0F125F #5C0F5F
monochromatic
#101A04 #1A2A07 #3A5F0F #5A9417 #7BC920

Accessibility & contrast

On white

7.44
#3A5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5F0F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5F0F#FFFFFF#000000##FFFFFF
##3A5F0F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#3B5B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5f0f;
/* rgb */ color: rgb(58, 95, 15);
/* oklch */ color: oklch(44.1% 0.113 132.0);
Tailwind
colors: {
  custom: {
    50: '#748c55',
    500: '#3a5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a5f0f;
$custom-light: #748c55;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5f0f",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 87.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.11342,
    "h": 132
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#3A5F0F
secondary
#613298
accent
#38EF8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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