#3A6A0F#3A6A0F

#3A6A0F is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.128 H 134.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3A6A0F
RGBrgb(58, 106, 15)
HSLhsl(92, 75%, 24%)
HSVhsv(92, 86%, 42%)
CMYKcmyk(45.3%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.98, -31.88, 41.61)
CIE-LCHlch(39.98, 52.42, 127.46°)
OKLaboklab(47.2% -0.0895 0.0916)
OKLCHoklch(47.2% 0.128 134.4)
XYZxyz(6.9850, 11.2417, 2.2537)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6A0F #3F0F6A
analogous
#676A0F #3A6A0F #0F6A11
triadic
#3A6A0F #0F3A6A #6A0F3A
tetradic
#3A6A0F #0F676A #3F0F6A #6A110F
square
#3A6A0F #0F676A #3F0F6A #6A110F
split-complementary
#3A6A0F #110F6A #6A0F67
monochromatic
#0F1B04 #1D3407 #3A6A0F #57A017 #75D51E

Accessibility & contrast

On white

6.46
#3A6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6A0F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6A0F#FFFFFF#000000##FFFFFF
##3A6A0F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#39665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a6a0f;
/* rgb */ color: rgb(58, 106, 15);
/* oklch */ color: oklch(47.2% 0.128 134.4);
Tailwind
colors: {
  custom: {
    50: '#759557',
    500: '#3a6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a6a0f;
$custom-light: #759557;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6a0f",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 91.648,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47201,
    "c": 0.12807,
    "h": 134.4
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#3A6A0F
secondary
#6D32A2
accent
#36F299
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #3A6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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