#3A7415#3A7415

#3A7415 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.138 H 136.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A7415
RGBrgb(58, 116, 21)
HSLhsl(97, 69%, 27%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.42, -35.88, 42.89)
CIE-LCHlch(43.42, 55.92, 129.91°)
OKLaboklab(50.04% -0.0999 0.0952)
OKLCHoklch(50.04% 0.138 136.4)
XYZxyz(8.1254, 13.4439, 2.8761)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7415 #4F1574
analogous
#6A7415 #3A7415 #157420
triadic
#3A7415 #153A74 #74153A
tetradic
#3A7415 #156A74 #4F1574 #742015
square
#3A7415 #156A74 #4F1574 #742015
split-complementary
#3A7415 #201574 #74156A
monochromatic
#0D1A05 #20400C #3A7415 #54A81E #6ED92B

Accessibility & contrast

On white

5.69
#3A7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7415
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7415#FFFFFF#000000##FFFFFF
##3A74151.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#376F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7415;
/* rgb */ color: rgb(58, 116, 21);
/* oklch */ color: oklch(50.0% 0.138 136.4);
Tailwind
colors: {
  custom: {
    50: '#779c5b',
    500: '#3a7415',
    950: '#000000',
  },
}
SCSS
$custom: #3a7415;
$custom-light: #779c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7415",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 96.632,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.13801,
    "h": 136.4
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#3A7415
secondary
#7F3BAA
accent
#3CECA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7415

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

Preview Lab → · Contrast checker → · Palette generator →

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