#3A7F0F#3A7F0F

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

Color values

HEX#3A7F0F
RGBrgb(58, 127, 15)
HSLhsl(97, 79%, 28%)
HSVhsv(97, 88%, 50%)
CMYKcmyk(54.3%, 0%, 88.2%, 50.2%)
CIE-LABlab(47.12, -40.68, 47.99)
CIE-LCHlch(47.12, 62.91, 130.29°)
OKLaboklab(53.07% -0.1131 0.105)
OKLCHoklch(53.07% 0.154 137.1)
XYZxyz(9.4202, 16.1121, 3.0654)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F0F #540F7F
analogous
#727F0F #3A7F0F #0F7F1C
triadic
#3A7F0F #0F3A7F #7F0F3A
tetradic
#3A7F0F #0F727F #540F7F #7F1C0F
square
#3A7F0F #0F727F #540F7F #7F1C0F
split-complementary
#3A7F0F #1C0F7F #7F0F72
monochromatic
#0C1B03 #214809 #3A7F0F #53B615 #6EE523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7F0F#FFFFFF#000000##FFFFFF
##3A7F0F1.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)
#847300
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#357A6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f0f;
/* rgb */ color: rgb(58, 127, 15);
/* oklch */ color: oklch(53.1% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a55b',
    500: '#3a7f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f0f;
$custom-light: #79a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f0f",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 15
  },
  "hsl": {
    "h": 96.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.15435,
    "h": 137.1
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#3A7F0F
secondary
#8434B5
accent
#32F5AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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