#3A7D13#3A7D13

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

Color values

HEX#3A7D13
RGBrgb(58, 125, 19)
HSLhsl(98, 74%, 28%)
HSVhsv(98, 85%, 49%)
CMYKcmyk(53.6%, 0%, 84.8%, 51%)
CIE-LABlab(46.46, -39.70, 46.33)
CIE-LCHlch(46.46, 61.01, 130.59°)
OKLaboklab(52.53% -0.1103 0.1021)
OKLCHoklch(52.53% 0.15 137.2)
XYZxyz(9.1958, 15.6131, 3.1450)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D13 #56137D
analogous
#6F7D13 #3A7D13 #137D21
triadic
#3A7D13 #133A7D #7D133A
tetradic
#3A7D13 #136F7D #56137D #7D2113
square
#3A7D13 #136F7D #56137D #7D2113
split-complementary
#3A7D13 #21137D #7D136F
monochromatic
#0C1B04 #21480B #3A7D13 #53B21B #6EDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7D13#FFFFFF#000000##FFFFFF
##3A7D131.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)
#796C20
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d13;
/* rgb */ color: rgb(58, 125, 19);
/* oklch */ color: oklch(52.5% 0.150 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a35c',
    500: '#3a7d13',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d13;
$custom-light: #78a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d13",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 97.925,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.15029,
    "h": 137.2
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#3A7D13
secondary
#8639B3
accent
#38F0AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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