#3A7C18#3A7C18

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

Color values

HEX#3A7C18
RGBrgb(58, 124, 24)
HSLhsl(100, 68%, 29%)
HSVhsv(100, 81%, 49%)
CMYKcmyk(53.2%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.15, -39.01, 44.47)
CIE-LCHlch(46.15, 59.16, 131.26°)
OKLaboklab(52.28% -0.1081 0.099)
OKLCHoklch(52.28% 0.147 137.5)
XYZxyz(9.1171, 15.3801, 3.3522)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C18 #5A187C
analogous
#6C7C18 #3A7C18 #187C28
triadic
#3A7C18 #183A7C #7C183A
tetradic
#3A7C18 #186C7C #5A187C #7C2818
square
#3A7C18 #186C7C #5A187C #7C2818
split-complementary
#3A7C18 #28187C #7C186C
monochromatic
#0C1A05 #22490E #3A7C18 #52AF22 #6DD836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7C18#FFFFFF#000000##FFFFFF
##3A7C181.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: #3a7c18;
/* rgb */ color: rgb(58, 124, 24);
/* oklch */ color: oklch(52.3% 0.147 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a25e',
    500: '#3a7c18',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c18;
$custom-light: #78a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c18",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 99.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.14661,
    "h": 137.5
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#3A7C18
secondary
#8A3FB1
accent
#3DEAB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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