#3A7C17#3A7C17

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

Color values

HEX#3A7C17
RGBrgb(58, 124, 23)
HSLhsl(99, 69%, 29%)
HSVhsv(99, 81%, 49%)
CMYKcmyk(53.2%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.14, -39.07, 44.80)
CIE-LCHlch(46.14, 59.44, 131.09°)
OKLaboklab(52.28% -0.1084 0.0995)
OKLCHoklch(52.28% 0.147 137.4)
XYZxyz(9.1069, 15.3760, 3.2984)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C17 #59177C
analogous
#6D7C17 #3A7C17 #177C27
triadic
#3A7C17 #173A7C #7C173A
tetradic
#3A7C17 #176D7C #59177C #7C2717
square
#3A7C17 #176D7C #59177C #7C2717
split-complementary
#3A7C17 #27177C #7C176D
monochromatic
#0C1A05 #22480D #3A7C17 #52B021 #6DD934

Accessibility & contrast

On white

5.15
#3A7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C17#FFFFFF#000000##FFFFFF
##3A7C171.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7c17;
/* rgb */ color: rgb(58, 124, 23);
/* oklch */ color: oklch(52.3% 0.147 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a25d',
    500: '#3a7c17',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c17;
$custom-light: #78a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c17",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 99.208,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.14713,
    "h": 137.4
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#3A7C17
secondary
#893EB1
accent
#3CECAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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