#3A6915#3A6915

#3A6915 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.0% C 0.124 H 134.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3A6915
RGBrgb(58, 105, 21)
HSLhsl(94, 67%, 25%)
HSVhsv(94, 80%, 41%)
CMYKcmyk(44.8%, 0%, 80%, 58.8%)
CIE-LABlab(39.68, -31.08, 39.31)
CIE-LCHlch(39.68, 50.11, 128.33°)
OKLaboklab(46.96% -0.087 0.0877)
OKLCHoklch(46.96% 0.124 134.8)
XYZxyz(6.9317, 11.0564, 2.4782)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6915 #441569
analogous
#646915 #3A6915 #15691A
triadic
#3A6915 #153A69 #69153A
tetradic
#3A6915 #156469 #441569 #691A15
square
#3A6915 #156469 #441569 #691A15
split-complementary
#3A6915 #1A1569 #691564
monochromatic
#0E1A05 #1E360B #3A6915 #569C1F #72CF29

Accessibility & contrast

On white

6.54
#3A6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6915
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6915#FFFFFF#000000##FFFFFF
##3A69151.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6915;
/* rgb */ color: rgb(58, 105, 21);
/* oklch */ color: oklch(47.0% 0.124 134.8);
Tailwind
colors: {
  custom: {
    50: '#759459',
    500: '#3a6915',
    950: '#000000',
  },
}
SCSS
$custom: #3a6915;
$custom-light: #759459;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6915",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 93.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46957,
    "c": 0.12355,
    "h": 134.8
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#3A6915
secondary
#733AA0
accent
#3EEA9E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6915

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

Preview Lab → · Contrast checker → · Palette generator →

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