#3A7718#3A7718

#3A7718 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 50.9% C 0.140 H 137.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3A7718
RGBrgb(58, 119, 24)
HSLhsl(99, 66%, 28%)
HSVhsv(99, 80%, 47%)
CMYKcmyk(51.3%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.46, -36.95, 42.85)
CIE-LCHlch(44.46, 56.58, 130.77°)
OKLaboklab(50.89% -0.1026 0.0956)
OKLCHoklch(50.89% 0.14 137)
XYZxyz(8.5064, 14.1585, 3.1486)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7718 #551877
analogous
#697718 #3A7718 #187725
triadic
#3A7718 #183A77 #77183A
tetradic
#3A7718 #186977 #551877 #772518
square
#3A7718 #186977 #551877 #772518
split-complementary
#3A7718 #251877 #771869
monochromatic
#0C1905 #21440E #3A7718 #53AA22 #6ED633

Accessibility & contrast

On white

5.48
#3A7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3A7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7718
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7718#FFFFFF#000000##FFFFFF
##3A77181.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#367265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a7718;
/* rgb */ color: rgb(58, 119, 24);
/* oklch */ color: oklch(50.9% 0.140 137.0);
Tailwind
colors: {
  custom: {
    50: '#779f5d',
    500: '#3a7718',
    950: '#000000',
  },
}
SCSS
$custom: #3a7718;
$custom-light: #779f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7718",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 98.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.14024,
    "h": 137
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#3A7718
secondary
#853FAC
accent
#3EE9AC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7718

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

Preview Lab → · Contrast checker → · Palette generator →

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