#3A7D15#3A7D15

#3A7D15 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.149 H 137.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A7D15
RGBrgb(58, 125, 21)
HSLhsl(99, 71%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(53.6%, 0%, 83.2%, 51%)
CIE-LABlab(46.47, -39.59, 45.74)
CIE-LCHlch(46.47, 60.50, 130.88°)
OKLaboklab(52.54% -0.1099 0.1012)
OKLCHoklch(52.54% 0.149 137.4)
XYZxyz(9.2136, 15.6202, 3.2388)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D15 #58157D
analogous
#6E7D15 #3A7D15 #157D24
triadic
#3A7D15 #153A7D #7D153A
tetradic
#3A7D15 #156E7D #58157D #7D2415
square
#3A7D15 #156E7D #58157D #7D2415
split-complementary
#3A7D15 #24157D #7D156E
monochromatic
#0C1A04 #22490C #3A7D15 #52B11E #6DDC30

Accessibility & contrast

On white

5.09
#3A7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D15
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D15#FFFFFF#000000##FFFFFF
##3A7D151.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d15;
/* rgb */ color: rgb(58, 125, 21);
/* oklch */ color: oklch(52.5% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a35d',
    500: '#3a7d15',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d15;
$custom-light: #78a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d15",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 98.654,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.14937,
    "h": 137.4
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#3A7D15
secondary
#883CB2
accent
#3AEEAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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