#3A5F15#3A5F15

#3A5F15 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.110 H 132.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A5F15
RGBrgb(58, 95, 21)
HSLhsl(90, 64%, 23%)
HSVhsv(90, 78%, 37%)
CMYKcmyk(38.9%, 0%, 77.9%, 62.7%)
CIE-LABlab(36.25, -26.43, 35.96)
CIE-LCHlch(36.25, 44.62, 126.32°)
OKLaboklab(44.15% -0.0744 0.0807)
OKLCHoklch(44.15% 0.11 132.7)
XYZxyz(5.9724, 9.1378, 2.1584)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5F15 #3A155F
analogous
#5F5F15 #3A5F15 #155F15
triadic
#3A5F15 #153A5F #5F153A
tetradic
#3A5F15 #155F5F #3A155F #5F1515
square
#3A5F15 #155F5F #3A155F #5F1515
split-complementary
#3A5F15 #15155F #5F155F
monochromatic
#0F1906 #1B2D0A #3A5F15 #599120 #77C32B

Accessibility & contrast

On white

7.43
#3A5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5F15
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5F15#FFFFFF#000000##FFFFFF
##3A5F151.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#3A5B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5f15;
/* rgb */ color: rgb(58, 95, 21);
/* oklch */ color: oklch(44.2% 0.110 132.7);
Tailwind
colors: {
  custom: {
    50: '#748c58',
    500: '#3a5f15',
    950: '#000000',
  },
}
SCSS
$custom: #3a5f15;
$custom-light: #748c58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5f15",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.10977,
    "h": 132.7
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#3A5F15
secondary
#683A96
accent
#41E794
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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