#3A7C15#3A7C15

#3A7C15 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.148 H 137.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A7C15
RGBrgb(58, 124, 21)
HSLhsl(98, 71%, 28%)
HSVhsv(98, 83%, 49%)
CMYKcmyk(53.2%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.13, -39.19, 45.43)
CIE-LCHlch(46.13, 60.00, 130.78°)
OKLaboklab(52.27% -0.1088 0.1005)
OKLCHoklch(52.27% 0.148 137.3)
XYZxyz(9.0876, 15.3683, 3.1968)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C15 #57157C
analogous
#6D7C15 #3A7C15 #157C24
triadic
#3A7C15 #153A7C #7C153A
tetradic
#3A7C15 #156D7C #57157C #7C2415
square
#3A7C15 #156D7C #57157C #7C2415
split-complementary
#3A7C15 #24157C #7C156D
monochromatic
#0C1A04 #22480C #3A7C15 #52B01E #6DDC30

Accessibility & contrast

On white

5.15
#3A7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C15
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C15#FFFFFF#000000##FFFFFF
##3A7C151.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#367769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7c15;
/* rgb */ color: rgb(58, 124, 21);
/* oklch */ color: oklch(52.3% 0.148 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a25c',
    500: '#3a7c15',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c15;
$custom-light: #78a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c15",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 98.447,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.14813,
    "h": 137.3
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#3A7C15
secondary
#873CB1
accent
#3AEEAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #3A7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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