#3A5D18#3A5D18

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

Color values

HEX#3A5D18
RGBrgb(58, 93, 24)
HSLhsl(90, 59%, 23%)
HSVhsv(90, 74%, 36%)
CMYKcmyk(37.6%, 0%, 74.2%, 63.5%)
CIE-LABlab(35.58, -25.23, 34.02)
CIE-LCHlch(35.58, 42.35, 126.56°)
OKLaboklab(43.62% -0.0709 0.0771)
OKLCHoklch(43.62% 0.105 132.6)
XYZxyz(5.8241, 8.7940, 2.2545)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D18 #3B185D
analogous
#5C5D18 #3A5D18 #185D19
triadic
#3A5D18 #183A5D #5D183A
tetradic
#3A5D18 #185C5D #3B185D #5D1918
square
#3A5D18 #185C5D #3B185D #5D1918
split-complementary
#3A5D18 #19185D #5D185C
monochromatic
#0F1806 #1C2C0B #3A5D18 #588E25 #77BE31

Accessibility & contrast

On white

7.61
#3A5D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A5D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5D18
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D18#FFFFFF#000000##FFFFFF
##3A5D181.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#3B594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5d18;
/* rgb */ color: rgb(58, 93, 24);
/* oklch */ color: oklch(43.6% 0.105 132.6);
Tailwind
colors: {
  custom: {
    50: '#738b59',
    500: '#3a5d18',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d18;
$custom-light: #738b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d18",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 90.435,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.10476,
    "h": 132.6
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#3A5D18
secondary
#693D93
accent
#46E295
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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