#3A7A19#3A7A19

#3A7A19 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.7% C 0.144 H 137.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3A7A19
RGBrgb(58, 122, 25)
HSLhsl(100, 66%, 29%)
HSVhsv(100, 80%, 48%)
CMYKcmyk(52.5%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.48, -38.13, 43.49)
CIE-LCHlch(45.48, 57.83, 131.24°)
OKLaboklab(51.74% -0.1057 0.0971)
OKLCHoklch(51.74% 0.144 137.4)
XYZxyz(8.8796, 14.8881, 3.3253)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7A19 #59197A
analogous
#6B7A19 #3A7A19 #197A29
triadic
#3A7A19 #193A7A #7A193A
tetradic
#3A7A19 #196B7A #59197A #7A2919
square
#3A7A19 #196B7A #59197A #7A2919
split-complementary
#3A7A19 #29197A #7A196B
monochromatic
#0C1905 #22470F #3A7A19 #52AD23 #6DD637

Accessibility & contrast

On white

5.28
#3A7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3A7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7A19
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7A19#FFFFFF#000000##FFFFFF
##3A7A191.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#367568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7a19;
/* rgb */ color: rgb(58, 122, 25);
/* oklch */ color: oklch(51.7% 0.144 137.4);
Tailwind
colors: {
  custom: {
    50: '#77a15e',
    500: '#3a7a19',
    950: '#000000',
  },
}
SCSS
$custom: #3a7a19;
$custom-light: #77a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7a19",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 99.588,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.14352,
    "h": 137.4
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#3A7A19
secondary
#8940AF
accent
#3FE9AF
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3A7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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