#3A6715#3A6715

#3A6715 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.121 H 134.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3A6715
RGBrgb(58, 103, 21)
HSLhsl(93, 66%, 24%)
HSVhsv(93, 80%, 40%)
CMYKcmyk(43.7%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.99, -30.17, 38.65)
CIE-LCHlch(38.99, 49.03, 127.98°)
OKLaboklab(46.4% -0.0845 0.0863)
OKLCHoklch(46.4% 0.121 134.4)
XYZxyz(6.7304, 10.6538, 2.4111)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6715 #421567
analogous
#636715 #3A6715 #156719
triadic
#3A6715 #153A67 #67153A
tetradic
#3A6715 #156367 #421567 #671915
square
#3A6715 #156367 #421567 #671915
split-complementary
#3A6715 #191567 #671563
monochromatic
#0E1905 #1D340B #3A6715 #579A1F #73CD2A

Accessibility & contrast

On white

6.71
#3A6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3A6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6715
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6715#FFFFFF#000000##FFFFFF
##3A67151.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#396357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6715;
/* rgb */ color: rgb(58, 103, 21);
/* oklch */ color: oklch(46.4% 0.121 134.4);
Tailwind
colors: {
  custom: {
    50: '#759359',
    500: '#3a6715',
    950: '#000000',
  },
}
SCSS
$custom: #3a6715;
$custom-light: #759359;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6715",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 92.927,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.12084,
    "h": 134.4
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#3A6715
secondary
#713A9E
accent
#3FE99C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6715

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

Preview Lab → · Contrast checker → · Palette generator →

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