#3A7F11#3A7F11

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

Color values

HEX#3A7F11
RGBrgb(58, 127, 17)
HSLhsl(98, 76%, 28%)
HSVhsv(98, 87%, 50%)
CMYKcmyk(54.3%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.13, -40.59, 47.48)
CIE-LCHlch(47.13, 62.47, 130.53°)
OKLaboklab(53.08% -0.1128 0.1042)
OKLCHoklch(53.08% 0.154 137.3)
XYZxyz(9.4352, 16.1180, 3.1441)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F11 #56117F
analogous
#717F11 #3A7F11 #117F1F
triadic
#3A7F11 #113A7F #7F113A
tetradic
#3A7F11 #11717F #56117F #7F1F11
square
#3A7F11 #11717F #56117F #7F1F11
split-complementary
#3A7F11 #1F117F #7F1171
monochromatic
#0C1B04 #21490A #3A7F11 #53B518 #6EE228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7F11#FFFFFF#000000##FFFFFF
##3A7F111.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)
#7B6E1F
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f11;
/* rgb */ color: rgb(58, 127, 17);
/* oklch */ color: oklch(53.1% 0.154 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a55b',
    500: '#3a7f11',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f11;
$custom-light: #78a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f11",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 97.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.15358,
    "h": 137.3
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#3A7F11
secondary
#8637B5
accent
#35F3AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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