#3A7518#3A7518

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

Color values

HEX#3A7518
RGBrgb(58, 117, 24)
HSLhsl(98, 66%, 28%)
HSVhsv(98, 79%, 46%)
CMYKcmyk(50.4%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.78, -36.11, 42.20)
CIE-LCHlch(43.78, 55.54, 130.56°)
OKLaboklab(50.33% -0.1003 0.0942)
OKLCHoklch(50.33% 0.138 136.8)
XYZxyz(8.2708, 13.6875, 3.0701)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7518 #531875
analogous
#687518 #3A7518 #187525
triadic
#3A7518 #183A75 #75183A
tetradic
#3A7518 #186875 #531875 #752518
square
#3A7518 #186875 #531875 #752518
split-complementary
#3A7518 #251875 #751868
monochromatic
#0D1905 #21420E #3A7518 #53A822 #6ED532

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7518#FFFFFF#000000##FFFFFF
##3A75181.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)
#796B03
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#377163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7518;
/* rgb */ color: rgb(58, 117, 24);
/* oklch */ color: oklch(50.3% 0.138 136.8);
Tailwind
colors: {
  custom: {
    50: '#779d5d',
    500: '#3a7518',
    950: '#000000',
  },
}
SCSS
$custom: #3a7518;
$custom-light: #779d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7518",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 98.065,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.13765,
    "h": 136.8
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#3A7518
secondary
#833FAA
accent
#3FE9AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7518

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

Preview Lab → · Contrast checker → · Palette generator →

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