#3A5D12#3A5D12

#3A5D12 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.6% C 0.109 H 131.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3A5D12
RGBrgb(58, 93, 18)
HSLhsl(88, 68%, 22%)
HSVhsv(88, 81%, 36%)
CMYKcmyk(37.6%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.54, -25.67, 36.44)
CIE-LCHlch(35.54, 44.57, 125.16°)
OKLaboklab(43.57% -0.0726 0.0812)
OKLCHoklch(43.57% 0.109 131.8)
XYZxyz(5.7684, 8.7717, 1.9613)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D12 #35125D
analogous
#5D5B12 #3A5D12 #155D12
triadic
#3A5D12 #123A5D #5D123A
tetradic
#3A5D12 #125D5B #35125D #5D1215
square
#3A5D12 #125D5B #35125D #5D1215
split-complementary
#3A5D12 #12155D #5B125D
monochromatic
#101A05 #1A2A08 #3A5D12 #5A901C #7AC426

Accessibility & contrast

On white

7.62
#3A5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A5D12
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D12#FFFFFF#000000##FFFFFF
##3A5D121.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5d12;
/* rgb */ color: rgb(58, 93, 18);
/* oklch */ color: oklch(43.6% 0.109 131.8);
Tailwind
colors: {
  custom: {
    50: '#748b56',
    500: '#3a5d12',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d12;
$custom-light: #748b56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d12",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 88,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.10892,
    "h": 131.8
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#3A5D12
secondary
#623595
accent
#3DEA8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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