#3A7318#3A7318

#3A7318 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.135 H 136.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3A7318
RGBrgb(58, 115, 24)
HSLhsl(98, 65%, 27%)
HSVhsv(98, 79%, 45%)
CMYKcmyk(49.6%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.10, -35.26, 41.54)
CIE-LCHlch(43.10, 54.49, 130.33°)
OKLaboklab(49.78% -0.0981 0.0929)
OKLCHoklch(49.78% 0.135 136.6)
XYZxyz(8.0403, 13.2264, 2.9933)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7318 #511873
analogous
#687318 #3A7318 #187323
triadic
#3A7318 #183A73 #73183A
tetradic
#3A7318 #186873 #511873 #732318
square
#3A7318 #186873 #511873 #732318
split-complementary
#3A7318 #231873 #731868
monochromatic
#0D1905 #20400D #3A7318 #54A623 #6ED431

Accessibility & contrast

On white

5.76
#3A7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3A7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7318
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7318#FFFFFF#000000##FFFFFF
##3A73181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#376F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a7318;
/* rgb */ color: rgb(58, 115, 24);
/* oklch */ color: oklch(49.8% 0.135 136.6);
Tailwind
colors: {
  custom: {
    50: '#769c5c',
    500: '#3a7318',
    950: '#000000',
  },
}
SCSS
$custom: #3a7318;
$custom-light: #769c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7318",
  "rgb": {
    "r": 58,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 97.582,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.13505,
    "h": 136.6
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#3A7318
secondary
#813FA8
accent
#3FE8A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7318

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

Preview Lab → · Contrast checker → · Palette generator →

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