#3A5E0F#3A5E0F

#3A5E0F is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.112 H 131.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A5E0F
RGBrgb(58, 94, 15)
HSLhsl(87, 72%, 21%)
HSVhsv(87, 84%, 37%)
CMYKcmyk(38.3%, 0%, 84%, 63.1%)
CIE-LABlab(35.87, -26.33, 37.83)
CIE-LCHlch(35.87, 46.09, 124.85°)
OKLaboklab(43.83% -0.0746 0.0836)
OKLCHoklch(43.83% 0.112 131.8)
XYZxyz(5.8338, 8.9392, 1.8699)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5E0F #330F5E
analogous
#5E5B0F #3A5E0F #135E0F
triadic
#3A5E0F #0F3A5E #5E0F3A
tetradic
#3A5E0F #0F5E5B #330F5E #5E0F13
square
#3A5E0F #0F5E5B #330F5E #5E0F13
split-complementary
#3A5E0F #0F135E #5B0F5E
monochromatic
#101A04 #192907 #3A5E0F #5B9317 #7BC820

Accessibility & contrast

On white

7.53
#3A5E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A5E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5E0F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5E0F#FFFFFF#000000##FFFFFF
##3A5E0F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5E5318
Tritanopia (blue-blind)
#3B5A4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5e0f;
/* rgb */ color: rgb(58, 94, 15);
/* oklch */ color: oklch(43.8% 0.112 131.8);
Tailwind
colors: {
  custom: {
    50: '#748c55',
    500: '#3a5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a5e0f;
$custom-light: #748c55;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5e0f",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 87.342,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.11206,
    "h": 131.8
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#3A5E0F
secondary
#603197
accent
#39EF8C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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