#3A7019#3A7019

#3A7019 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 48.9% C 0.130 H 136.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3A7019
RGBrgb(58, 112, 25)
HSLhsl(97, 64%, 27%)
HSVhsv(97, 78%, 44%)
CMYKcmyk(48.2%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.09, -33.90, 40.17)
CIE-LCHlch(42.09, 52.57, 130.16°)
OKLaboklab(48.95% -0.0943 0.0902)
OKLCHoklch(48.95% 0.13 136.3)
XYZxyz(7.7144, 12.5576, 2.9369)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7019 #4F1970
analogous
#667019 #3A7019 #197023
triadic
#3A7019 #193A70 #70193A
tetradic
#3A7019 #196670 #4F1970 #702319
square
#3A7019 #196670 #4F1970 #702319
split-complementary
#3A7019 #231970 #701966
monochromatic
#0D1906 #203E0E #3A7019 #54A224 #6ED132

Accessibility & contrast

On white

5.98
#3A7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7019
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7019#FFFFFF#000000##FFFFFF
##3A70191.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#386C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7019;
/* rgb */ color: rgb(58, 112, 25);
/* oklch */ color: oklch(48.9% 0.130 136.3);
Tailwind
colors: {
  custom: {
    50: '#76995c',
    500: '#3a7019',
    950: '#000000',
  },
}
SCSS
$custom: #3a7019;
$custom-light: #76995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7019",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 97.241,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.13047,
    "h": 136.3
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#3A7019
secondary
#7F40A5
accent
#41E7A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7019

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

Preview Lab → · Contrast checker → · Palette generator →

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