#3A7B13#3A7B13

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

Color values

HEX#3A7B13
RGBrgb(58, 123, 19)
HSLhsl(98, 73%, 28%)
HSVhsv(98, 85%, 48%)
CMYKcmyk(52.8%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.79, -38.89, 45.71)
CIE-LCHlch(45.79, 60.02, 130.39°)
OKLaboklab(51.98% -0.1081 0.1008)
OKLCHoklch(51.98% 0.148 137)
XYZxyz(8.9451, 15.1118, 3.0615)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7B13 #54137B
analogous
#6E7B13 #3A7B13 #137B20
triadic
#3A7B13 #133A7B #7B133A
tetradic
#3A7B13 #136E7B #54137B #7B2013
square
#3A7B13 #136E7B #54137B #7B2013
split-complementary
#3A7B13 #20137B #7B136E
monochromatic
#0C1B04 #21460B #3A7B13 #53B01B #6EDE2A

Accessibility & contrast

On white

5.22
#3A7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3A7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7B13
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7B13#FFFFFF#000000##FFFFFF
##3A7B131.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#367668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7b13;
/* rgb */ color: rgb(58, 123, 19);
/* oklch */ color: oklch(52.0% 0.148 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a25b',
    500: '#3a7b13',
    950: '#000000',
  },
}
SCSS
$custom: #3a7b13;
$custom-light: #78a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7b13",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 97.5,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.14782,
    "h": 137
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#3A7B13
secondary
#8439B1
accent
#38F0AB
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #3A7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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