#3A6918#3A6918

#3A6918 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.0% C 0.122 H 135.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3A6918
RGBrgb(58, 105, 24)
HSLhsl(95, 63%, 25%)
HSVhsv(95, 77%, 41%)
CMYKcmyk(44.8%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.70, -30.87, 38.19)
CIE-LCHlch(39.70, 49.10, 128.95°)
OKLaboklab(46.98% -0.0862 0.0859)
OKLCHoklch(46.98% 0.122 135.1)
XYZxyz(6.9612, 11.0682, 2.6336)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6918 #471869
analogous
#626918 #3A6918 #18691E
triadic
#3A6918 #183A69 #69183A
tetradic
#3A6918 #186269 #471869 #691E18
square
#3A6918 #186269 #471869 #691E18
split-complementary
#3A6918 #1E1869 #691862
monochromatic
#0E1906 #1E370D #3A6918 #569B23 #71CD2F

Accessibility & contrast

On white

6.53
#3A6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6918
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6918#FFFFFF#000000##FFFFFF
##3A69181.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6918;
/* rgb */ color: rgb(58, 105, 24);
/* oklch */ color: oklch(47.0% 0.122 135.1);
Tailwind
colors: {
  custom: {
    50: '#75945b',
    500: '#3a6918',
    950: '#000000',
  },
}
SCSS
$custom: #3a6918;
$custom-light: #75945b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6918",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 94.815,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.12166,
    "h": 135.1
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#3A6918
secondary
#763E9F
accent
#42E6A1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6918

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

Preview Lab → · Contrast checker → · Palette generator →

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