#3A7F13#3A7F13

#3A7F13 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.153 H 137.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7F13
RGBrgb(58, 127, 19)
HSLhsl(98, 74%, 29%)
HSVhsv(98, 85%, 50%)
CMYKcmyk(54.3%, 0%, 85%, 50.2%)
CIE-LABlab(47.14, -40.50, 46.94)
CIE-LCHlch(47.14, 62.00, 130.78°)
OKLaboklab(53.09% -0.1124 0.1034)
OKLCHoklch(53.09% 0.153 137.4)
XYZxyz(9.4515, 16.1246, 3.2303)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F13 #58137F
analogous
#707F13 #3A7F13 #137F22
triadic
#3A7F13 #133A7F #7F133A
tetradic
#3A7F13 #13707F #58137F #7F2213
square
#3A7F13 #13707F #58137F #7F2213
split-complementary
#3A7F13 #22137F #7F1370
monochromatic
#0C1B04 #224A0B #3A7F13 #52B41B #6DE02D

Accessibility & contrast

On white

4.97
#3A7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3A7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F13
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F13#FFFFFF#000000##FFFFFF
##3A7F131.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f13;
/* rgb */ color: rgb(58, 127, 19);
/* oklch */ color: oklch(53.1% 0.153 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#3a7f13',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f13;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f13",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 98.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.15274,
    "h": 137.4
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#3A7F13
secondary
#8839B4
accent
#37F1AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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