#3A8011#3A8011

#3A8011 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.155 H 137.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8011
RGBrgb(58, 128, 17)
HSLhsl(98, 77%, 28%)
HSVhsv(98, 87%, 50%)
CMYKcmyk(54.7%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.47, -40.99, 47.79)
CIE-LCHlch(47.47, 62.96, 130.62°)
OKLaboklab(53.36% -0.1138 0.1049)
OKLCHoklch(53.36% 0.155 137.4)
XYZxyz(9.5650, 16.3776, 3.1874)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8011 #571180
analogous
#718011 #3A8011 #11801F
triadic
#3A8011 #113A80 #80113A
tetradic
#3A8011 #117180 #571180 #801F11
square
#3A8011 #117180 #571180 #801F11
split-complementary
#3A8011 #1F1180 #801171
monochromatic
#0C1B04 #224A0A #3A8011 #52B618 #6DE329

Accessibility & contrast

On white

4.91
#3A8011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8011
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8011#FFFFFF#000000##FFFFFF
##3A80111.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#357B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8011;
/* rgb */ color: rgb(58, 128, 17);
/* oklch */ color: oklch(53.4% 0.155 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a55c',
    500: '#3a8011',
    950: '#000000',
  },
}
SCSS
$custom: #3a8011;
$custom-light: #79a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8011",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 97.838,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.15479,
    "h": 137.4
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#3A8011
secondary
#8737B6
accent
#35F3AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A8011

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

Preview Lab → · Contrast checker → · Palette generator →

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