#3A6814#3A6814

#3A6814 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.123 H 134.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A6814
RGBrgb(58, 104, 20)
HSLhsl(93, 68%, 24%)
HSVhsv(93, 81%, 41%)
CMYKcmyk(44.2%, 0%, 80.8%, 59.2%)
CIE-LABlab(39.33, -30.69, 39.34)
CIE-LCHlch(39.33, 49.90, 127.96°)
OKLaboklab(46.67% -0.086 0.0876)
OKLCHoklch(46.67% 0.123 134.5)
XYZxyz(6.8214, 10.8503, 2.3966)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6814 #421468
analogous
#646814 #3A6814 #146818
triadic
#3A6814 #143A68 #68143A
tetradic
#3A6814 #146468 #421468 #681814
square
#3A6814 #146468 #421468 #681814
split-complementary
#3A6814 #181468 #681464
monochromatic
#0E1A05 #1D350A #3A6814 #579B1E #73CF28

Accessibility & contrast

On white

6.62
#3A6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6814
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6814#FFFFFF#000000##FFFFFF
##3A68141.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F02
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#396458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6814;
/* rgb */ color: rgb(58, 104, 20);
/* oklch */ color: oklch(46.7% 0.123 134.5);
Tailwind
colors: {
  custom: {
    50: '#759359',
    500: '#3a6814',
    950: '#000000',
  },
}
SCSS
$custom: #3a6814;
$custom-light: #759359;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6814",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 92.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.12279,
    "h": 134.5
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#3A6814
secondary
#71399F
accent
#3DEB9C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6814

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

Preview Lab → · Contrast checker → · Palette generator →

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