#3A7515#3A7515

#3A7515 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.139 H 136.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3A7515
RGBrgb(58, 117, 21)
HSLhsl(97, 70%, 27%)
HSVhsv(97, 82%, 46%)
CMYKcmyk(50.4%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.76, -36.30, 43.21)
CIE-LCHlch(43.76, 56.44, 130.03°)
OKLaboklab(50.32% -0.101 0.0959)
OKLCHoklch(50.32% 0.139 136.5)
XYZxyz(8.2413, 13.6757, 2.9147)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7515 #501575
analogous
#6A7515 #3A7515 #157520
triadic
#3A7515 #153A75 #75153A
tetradic
#3A7515 #156A75 #501575 #752015
square
#3A7515 #156A75 #501575 #752015
split-complementary
#3A7515 #201575 #75156A
monochromatic
#0D1A05 #20410C #3A7515 #54A91E #6ED92B

Accessibility & contrast

On white

5.62
#3A7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7515
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7515#FFFFFF#000000##FFFFFF
##3A75151.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#377063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7515;
/* rgb */ color: rgb(58, 117, 21);
/* oklch */ color: oklch(50.3% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#779d5b',
    500: '#3a7515',
    950: '#000000',
  },
}
SCSS
$custom: #3a7515;
$custom-light: #779d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7515",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 96.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.1393,
    "h": 136.5
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#3A7515
secondary
#803BAB
accent
#3BECA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7515

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

Preview Lab → · Contrast checker → · Palette generator →

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