#3A7715#3A7715

#3A7715 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.142 H 136.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3A7715
RGBrgb(58, 119, 21)
HSLhsl(97, 70%, 27%)
HSVhsv(97, 82%, 47%)
CMYKcmyk(51.3%, 0%, 82.4%, 53.3%)
CIE-LABlab(44.44, -37.14, 43.85)
CIE-LCHlch(44.44, 57.46, 130.26°)
OKLaboklab(50.87% -0.1033 0.0972)
OKLCHoklch(50.87% 0.142 136.7)
XYZxyz(8.4769, 14.1467, 2.9932)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7715 #521577
analogous
#6B7715 #3A7715 #157721
triadic
#3A7715 #153A77 #77153A
tetradic
#3A7715 #156B77 #521577 #772115
square
#3A7715 #156B77 #521577 #772115
split-complementary
#3A7715 #211577 #77156B
monochromatic
#0D1A05 #21430C #3A7715 #53AB1E #6EDA2D

Accessibility & contrast

On white

5.48
#3A7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3A7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7715
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7715#FFFFFF#000000##FFFFFF
##3A77151.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#377265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a7715;
/* rgb */ color: rgb(58, 119, 21);
/* oklch */ color: oklch(50.9% 0.142 136.7);
Tailwind
colors: {
  custom: {
    50: '#779f5c',
    500: '#3a7715',
    950: '#000000',
  },
}
SCSS
$custom: #3a7715;
$custom-light: #779f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7715",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 97.347,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.14185,
    "h": 136.7
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#3A7715
secondary
#823BAD
accent
#3BEDAA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7715

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

Preview Lab → · Contrast checker → · Palette generator →

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