#3A7E17#3A7E17

#3A7E17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.8% C 0.150 H 137.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A7E17
RGBrgb(58, 126, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 82%, 49%)
CMYKcmyk(54%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.82, -39.88, 45.44)
CIE-LCHlch(46.82, 60.45, 131.27°)
OKLaboklab(52.83% -0.1105 0.1009)
OKLCHoklch(52.83% 0.15 137.6)
XYZxyz(9.3601, 15.8824, 3.3828)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E17 #5B177E
analogous
#6E7E17 #3A7E17 #177E28
triadic
#3A7E17 #173A7E #7E173A
tetradic
#3A7E17 #176E7E #5B177E #7E2817
square
#3A7E17 #176E7E #5B177E #7E2817
split-complementary
#3A7E17 #28177E #7E176E
monochromatic
#0C1A05 #224A0E #3A7E17 #52B220 #6DDA35

Accessibility & contrast

On white

5.03
#3A7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E17#FFFFFF#000000##FFFFFF
##3A7E171.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e17;
/* rgb */ color: rgb(58, 126, 23);
/* oklch */ color: oklch(52.8% 0.150 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a45e',
    500: '#3a7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e17;
$custom-light: #78a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e17",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 99.612,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.14962,
    "h": 137.6
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#3A7E17
secondary
#8B3EB3
accent
#3CECB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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