#3A5C12#3A5C12

#3A5C12 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.3% C 0.108 H 131.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3A5C12
RGBrgb(58, 92, 18)
HSLhsl(88, 67%, 22%)
HSVhsv(88, 80%, 36%)
CMYKcmyk(37%, 0%, 80.4%, 63.9%)
CIE-LABlab(35.20, -25.18, 36.10)
CIE-LCHlch(35.20, 44.02, 124.90°)
OKLaboklab(43.29% -0.0713 0.0805)
OKLCHoklch(43.29% 0.108 131.5)
XYZxyz(5.6812, 8.5973, 1.9323)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5C12 #34125C
analogous
#5C5912 #3A5C12 #155C12
triadic
#3A5C12 #123A5C #5C123A
tetradic
#3A5C12 #125C59 #34125C #5C1215
square
#3A5C12 #125C59 #34125C #5C1215
split-complementary
#3A5C12 #12155C #59125C
monochromatic
#101A05 #1A2908 #3A5C12 #5A8F1C #7BC226

Accessibility & contrast

On white

7.72
#3A5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5C12
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5C12#FFFFFF#000000##FFFFFF
##3A5C121.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#3B584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a5c12;
/* rgb */ color: rgb(58, 92, 18);
/* oklch */ color: oklch(43.3% 0.108 131.5);
Tailwind
colors: {
  custom: {
    50: '#748a56',
    500: '#3a5c12',
    950: '#000000',
  },
}
SCSS
$custom: #3a5c12;
$custom-light: #748a56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5c12",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 87.568,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.10753,
    "h": 131.5
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#3A5C12
secondary
#613594
accent
#3EEA8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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