#3A6415#3A6415

#3A6415 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.117 H 133.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A6415
RGBrgb(58, 100, 21)
HSLhsl(92, 65%, 24%)
HSVhsv(92, 79%, 39%)
CMYKcmyk(42%, 0%, 79%, 60.8%)
CIE-LABlab(37.96, -28.79, 37.65)
CIE-LCHlch(37.96, 47.40, 127.41°)
OKLaboklab(45.56% -0.0808 0.0842)
OKLCHoklch(45.56% 0.117 133.8)
XYZxyz(6.4373, 10.0677, 2.3134)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6415 #3F1564
analogous
#616415 #3A6415 #156418
triadic
#3A6415 #153A64 #64153A
tetradic
#3A6415 #156164 #3F1564 #641815
square
#3A6415 #156164 #3F1564 #641815
split-complementary
#3A6415 #181564 #641561
monochromatic
#0F1905 #1D310A #3A6415 #579720 #75C92A

Accessibility & contrast

On white

6.97
#3A6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6415
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6415#FFFFFF#000000##FFFFFF
##3A64151.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B05
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#3A6055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6415;
/* rgb */ color: rgb(58, 100, 21);
/* oklch */ color: oklch(45.6% 0.117 133.8);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#3a6415',
    950: '#000000',
  },
}
SCSS
$custom: #3a6415;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6415",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 91.899,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.11673,
    "h": 133.8
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#3A6415
secondary
#6D3A9B
accent
#40E899
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3A6415

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

Preview Lab → · Contrast checker → · Palette generator →

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