#3A8114#3A8114

#3A8114 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.6% C 0.155 H 137.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8114
RGBrgb(58, 129, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(55%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.82, -41.24, 47.28)
CIE-LCHlch(47.82, 62.74, 131.10°)
OKLaboklab(53.65% -0.1144 0.1043)
OKLCHoklch(53.65% 0.155 137.6)
XYZxyz(9.7211, 16.6498, 3.3632)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8114 #5B1481
analogous
#718114 #3A8114 #148125
triadic
#3A8114 #143A81 #81143A
tetradic
#3A8114 #147181 #5B1481 #812514
square
#3A8114 #147181 #5B1481 #812514
split-complementary
#3A8114 #251481 #811471
monochromatic
#0C1A04 #224C0C #3A8114 #52B61C #6DDF30

Accessibility & contrast

On white

4.85
#3A8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8114
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8114#FFFFFF#000000##FFFFFF
##3A81141.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#357C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8114;
/* rgb */ color: rgb(58, 129, 20);
/* oklch */ color: oklch(53.6% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a65d',
    500: '#3a8114',
    950: '#000000',
  },
}
SCSS
$custom: #3a8114;
$custom-light: #79a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8114",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 99.083,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.15475,
    "h": 137.6
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#3A8114
secondary
#8B3BB6
accent
#38F0B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8114

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

Preview Lab → · Contrast checker → · Palette generator →

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