#3A7313#3A7313

#3A7313 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.138 H 136.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3A7313
RGBrgb(58, 115, 19)
HSLhsl(96, 72%, 26%)
HSVhsv(96, 83%, 45%)
CMYKcmyk(49.6%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.07, -35.57, 43.21)
CIE-LCHlch(43.07, 55.97, 129.46°)
OKLaboklab(49.74% -0.0992 0.0956)
OKLCHoklch(49.74% 0.138 136.1)
XYZxyz(7.9930, 13.2075, 2.7441)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7313 #4C1373
analogous
#6A7313 #3A7313 #13731C
triadic
#3A7313 #133A73 #73133A
tetradic
#3A7313 #136A73 #4C1373 #731C13
square
#3A7313 #136A73 #4C1373 #731C13
split-complementary
#3A7313 #1C1373 #73136A
monochromatic
#0D1A04 #203E0A #3A7313 #54A81C #6FDB25

Accessibility & contrast

On white

5.77
#3A7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3A7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7313
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7313#FFFFFF#000000##FFFFFF
##3A73131.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#376E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a7313;
/* rgb */ color: rgb(58, 115, 19);
/* oklch */ color: oklch(49.7% 0.138 136.1);
Tailwind
colors: {
  custom: {
    50: '#779c5a',
    500: '#3a7313',
    950: '#000000',
  },
}
SCSS
$custom: #3a7313;
$custom-light: #779c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7313",
  "rgb": {
    "r": 58,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 95.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.13775,
    "h": 136.1
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#3A7313
secondary
#7C38AA
accent
#39EEA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7313

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

Preview Lab → · Contrast checker → · Palette generator →

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