#3A6B15#3A6B15

#3A6B15 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.5% C 0.126 H 135.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3A6B15
RGBrgb(58, 107, 21)
HSLhsl(94, 67%, 25%)
HSVhsv(94, 80%, 42%)
CMYKcmyk(45.8%, 0%, 80.4%, 58%)
CIE-LABlab(40.36, -31.98, 39.97)
CIE-LCHlch(40.36, 51.19, 128.66°)
OKLaboklab(47.52% -0.0894 0.0891)
OKLCHoklch(47.52% 0.126 135.1)
XYZxyz(7.1378, 11.4687, 2.5469)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6B15 #46156B
analogous
#656B15 #3A6B15 #156B1B
triadic
#3A6B15 #153A6B #6B153A
tetradic
#3A6B15 #15656B #46156B #6B1B15
square
#3A6B15 #15656B #46156B #6B1B15
split-complementary
#3A6B15 #1B156B #6B1565
monochromatic
#0E1A05 #1E380B #3A6B15 #569E1F #71D129

Accessibility & contrast

On white

6.38
#3A6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6B15
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6B15#FFFFFF#000000##FFFFFF
##3A6B151.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6202
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#39675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a6b15;
/* rgb */ color: rgb(58, 107, 21);
/* oklch */ color: oklch(47.5% 0.126 135.1);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#3a6b15',
    950: '#000000',
  },
}
SCSS
$custom: #3a6b15;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6b15",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 94.186,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.12623,
    "h": 135.1
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#3A6B15
secondary
#753AA2
accent
#3EEAA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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