#3A7618#3A7618

#3A7618 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.139 H 136.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3A7618
RGBrgb(58, 118, 24)
HSLhsl(98, 66%, 28%)
HSVhsv(98, 80%, 46%)
CMYKcmyk(50.8%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.12, -36.53, 42.53)
CIE-LCHlch(44.12, 56.06, 130.66°)
OKLaboklab(50.61% -0.1015 0.0949)
OKLCHoklch(50.61% 0.139 136.9)
XYZxyz(8.3880, 13.9218, 3.1092)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7618 #541876
analogous
#697618 #3A7618 #187625
triadic
#3A7618 #183A76 #76183A
tetradic
#3A7618 #186976 #541876 #762518
square
#3A7618 #186976 #541876 #762518
split-complementary
#3A7618 #251876 #761869
monochromatic
#0C1905 #21430E #3A7618 #53A922 #6ED533

Accessibility & contrast

On white

5.55
#3A7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3A7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7618
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7618#FFFFFF#000000##FFFFFF
##3A76181.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#377164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a7618;
/* rgb */ color: rgb(58, 118, 24);
/* oklch */ color: oklch(50.6% 0.139 136.9);
Tailwind
colors: {
  custom: {
    50: '#779e5d',
    500: '#3a7618',
    950: '#000000',
  },
}
SCSS
$custom: #3a7618;
$custom-light: #779e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7618",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 98.298,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.13895,
    "h": 136.9
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#3A7618
secondary
#843FAB
accent
#3FE9AB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7618

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

Preview Lab → · Contrast checker → · Palette generator →

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