#3A7C13#3A7C13

#3A7C13 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.149 H 137.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3A7C13
RGBrgb(58, 124, 19)
HSLhsl(98, 73%, 28%)
HSVhsv(98, 85%, 49%)
CMYKcmyk(53.2%, 0%, 84.7%, 51.4%)
CIE-LABlab(46.13, -39.30, 46.02)
CIE-LCHlch(46.13, 60.52, 130.49°)
OKLaboklab(52.26% -0.1092 0.1015)
OKLCHoklch(52.26% 0.149 137.1)
XYZxyz(9.0698, 15.3612, 3.1030)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C13 #55137C
analogous
#6E7C13 #3A7C13 #137C20
triadic
#3A7C13 #133A7C #7C133A
tetradic
#3A7C13 #136E7C #55137C #7C2013
square
#3A7C13 #136E7C #55137C #7C2013
split-complementary
#3A7C13 #20137C #7C136E
monochromatic
#0C1B04 #21470B #3A7C13 #53B11B #6EDF2B

Accessibility & contrast

On white

5.16
#3A7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A7C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C13
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C13#FFFFFF#000000##FFFFFF
##3A7C131.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#367769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7c13;
/* rgb */ color: rgb(58, 124, 19);
/* oklch */ color: oklch(52.3% 0.149 137.1);
Tailwind
colors: {
  custom: {
    50: '#78a25c',
    500: '#3a7c13',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c13;
$custom-light: #78a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c13",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 97.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.14906,
    "h": 137.1
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#3A7C13
secondary
#8539B2
accent
#38F0AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #3A7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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