#3A7418#3A7418

#3A7418 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.136 H 136.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A7418
RGBrgb(58, 116, 24)
HSLhsl(98, 66%, 27%)
HSVhsv(98, 79%, 45%)
CMYKcmyk(50%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.44, -35.69, 41.87)
CIE-LCHlch(43.44, 55.01, 130.44°)
OKLaboklab(50.06% -0.0992 0.0935)
OKLCHoklch(50.06% 0.136 136.7)
XYZxyz(8.1549, 13.4557, 3.0315)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7418 #521874
analogous
#687418 #3A7418 #187424
triadic
#3A7418 #183A74 #74183A
tetradic
#3A7418 #186874 #521874 #742418
square
#3A7418 #186874 #521874 #742418
split-complementary
#3A7418 #241874 #741868
monochromatic
#0D1905 #21410E #3A7418 #53A722 #6ED532

Accessibility & contrast

On white

5.69
#3A7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7418
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7418#FFFFFF#000000##FFFFFF
##3A74181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#377063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7418;
/* rgb */ color: rgb(58, 116, 24);
/* oklch */ color: oklch(50.1% 0.136 136.7);
Tailwind
colors: {
  custom: {
    50: '#769c5d',
    500: '#3a7418',
    950: '#000000',
  },
}
SCSS
$custom: #3a7418;
$custom-light: #769c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7418",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 97.826,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.13635,
    "h": 136.7
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#3A7418
secondary
#823FA9
accent
#3FE9AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7418

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

Preview Lab → · Contrast checker → · Palette generator →

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