#3A7919#3A7919

#3A7919 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.142 H 137.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A7919
RGBrgb(58, 121, 25)
HSLhsl(99, 66%, 29%)
HSVhsv(99, 79%, 47%)
CMYKcmyk(52.1%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.14, -37.71, 43.16)
CIE-LCHlch(45.14, 57.31, 131.15°)
OKLaboklab(51.46% -0.1046 0.0964)
OKLCHoklch(51.46% 0.142 137.3)
XYZxyz(8.7575, 14.6438, 3.2846)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7919 #581979
analogous
#6A7919 #3A7919 #197928
triadic
#3A7919 #193A79 #79193A
tetradic
#3A7919 #196A79 #581979 #792819
square
#3A7919 #196A79 #581979 #792819
split-complementary
#3A7919 #281979 #79196A
monochromatic
#0C1905 #22460F #3A7919 #52AC23 #6DD637

Accessibility & contrast

On white

5.35
#3A7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7919
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7919#FFFFFF#000000##FFFFFF
##3A79191.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#367467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a7919;
/* rgb */ color: rgb(58, 121, 25);
/* oklch */ color: oklch(51.5% 0.142 137.3);
Tailwind
colors: {
  custom: {
    50: '#77a05e',
    500: '#3a7919',
    950: '#000000',
  },
}
SCSS
$custom: #3a7919;
$custom-light: #77a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7919",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 99.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.14224,
    "h": 137.3
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#3A7919
secondary
#8840AE
accent
#3FE9AE
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3A7919

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

Preview Lab → · Contrast checker → · Palette generator →

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