#3A681F#3A681F

#3A681F is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.115 H 136.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3A681F
RGBrgb(58, 104, 31)
HSLhsl(98, 54%, 26%)
HSVhsv(98, 70%, 41%)
CMYKcmyk(44.2%, 0%, 70.2%, 59.2%)
CIE-LABlab(39.41, -29.83, 34.90)
CIE-LCHlch(39.41, 45.91, 130.52°)
OKLaboklab(46.76% -0.0828 0.08)
OKLCHoklch(46.76% 0.115 136)
XYZxyz(6.9424, 10.8987, 3.0339)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A681F #4D1F68
analogous
#5F681F #3A681F #1F6829
triadic
#3A681F #1F3A68 #681F3A
tetradic
#3A681F #1F5F68 #4D1F68 #68291F
square
#3A681F #1F5F68 #4D1F68 #68291F
split-complementary
#3A681F #291F68 #681F5F
monochromatic
#0D1807 #203911 #3A681F #54972D #6FC53C

Accessibility & contrast

On white

6.60
#3A681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3A681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A681F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A681F#FFFFFF#000000##FFFFFF
##3A681F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#665B25
Tritanopia (blue-blind)
#386459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a681f;
/* rgb */ color: rgb(58, 104, 31);
/* oklch */ color: oklch(46.8% 0.115 136.0);
Tailwind
colors: {
  custom: {
    50: '#74935f',
    500: '#3a681f',
    950: '#000000',
  },
}
SCSS
$custom: #3a681f;
$custom-light: #74935f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a681f",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 97.808,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.11515,
    "h": 136
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#3A681F
secondary
#7D469C
accent
#4ADDA7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #3A681F

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

Preview Lab → · Contrast checker → · Palette generator →

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