#3A7A15#3A7A15

#3A7A15 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.7% C 0.146 H 137.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3A7A15
RGBrgb(58, 122, 21)
HSLhsl(98, 71%, 28%)
HSVhsv(98, 83%, 48%)
CMYKcmyk(52.5%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.46, -38.37, 44.80)
CIE-LCHlch(45.46, 58.99, 130.58°)
OKLaboklab(51.71% -0.1066 0.0992)
OKLCHoklch(51.71% 0.146 137.1)
XYZxyz(8.8395, 14.8721, 3.1141)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7A15 #55157A
analogous
#6C7A15 #3A7A15 #157A23
triadic
#3A7A15 #153A7A #7A153A
tetradic
#3A7A15 #156C7A #55157A #7A2315
square
#3A7A15 #156C7A #55157A #7A2315
split-complementary
#3A7A15 #23157A #7A156C
monochromatic
#0C1A04 #21460C #3A7A15 #53AE1E #6EDB2E

Accessibility & contrast

On white

5.28
#3A7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3A7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7A15
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7A15#FFFFFF#000000##FFFFFF
##3A7A151.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#367568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7a15;
/* rgb */ color: rgb(58, 122, 21);
/* oklch */ color: oklch(51.7% 0.146 137.1);
Tailwind
colors: {
  custom: {
    50: '#77a15c',
    500: '#3a7a15',
    950: '#000000',
  },
}
SCSS
$custom: #3a7a15;
$custom-light: #77a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7a15",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 98.02,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.14563,
    "h": 137.1
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#3A7A15
secondary
#853BAF
accent
#3AEDAC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3A7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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