#3A7B19#3A7B19

#3A7B19 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.0% C 0.145 H 137.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3A7B19
RGBrgb(58, 123, 25)
HSLhsl(100, 66%, 29%)
HSVhsv(100, 80%, 48%)
CMYKcmyk(52.8%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.82, -38.54, 43.81)
CIE-LCHlch(45.82, 58.35, 131.33°)
OKLaboklab(52.01% -0.1068 0.0978)
OKLCHoklch(52.01% 0.145 137.5)
XYZxyz(9.0031, 15.1350, 3.3664)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7B19 #5A197B
analogous
#6B7B19 #3A7B19 #197B29
triadic
#3A7B19 #193A7B #7B193A
tetradic
#3A7B19 #196B7B #5A197B #7B2919
square
#3A7B19 #196B7B #5A197B #7B2919
split-complementary
#3A7B19 #29197B #7B196B
monochromatic
#0C1905 #22480F #3A7B19 #52AE23 #6DD738

Accessibility & contrast

On white

5.21
#3A7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3A7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7B19
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7B19#FFFFFF#000000##FFFFFF
##3A7B191.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#357669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7b19;
/* rgb */ color: rgb(58, 123, 25);
/* oklch */ color: oklch(52.0% 0.145 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a25e',
    500: '#3a7b19',
    950: '#000000',
  },
}
SCSS
$custom: #3a7b19;
$custom-light: #77a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7b19",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 99.796,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.14479,
    "h": 137.5
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#3A7B19
secondary
#8A40AF
accent
#3FE9B0
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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