#3A671F#3A671F

#3A671F is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.114 H 135.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3A671F
RGBrgb(58, 103, 31)
HSLhsl(98, 54%, 26%)
HSVhsv(98, 70%, 40%)
CMYKcmyk(43.7%, 0%, 69.9%, 59.6%)
CIE-LABlab(39.07, -29.37, 34.53)
CIE-LCHlch(39.07, 45.33, 130.38°)
OKLaboklab(46.48% -0.0816 0.0792)
OKLCHoklch(46.48% 0.114 135.8)
XYZxyz(6.8423, 10.6986, 3.0006)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A671F #4C1F67
analogous
#5E671F #3A671F #1F6728
triadic
#3A671F #1F3A67 #671F3A
tetradic
#3A671F #1F5E67 #4C1F67 #67281F
square
#3A671F #1F5E67 #4C1F67 #67281F
split-complementary
#3A671F #281F67 #671F5E
monochromatic
#0D1807 #203811 #3A671F #54962D #6FC43C

Accessibility & contrast

On white

6.69
#3A671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3A671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A671F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A671F#FFFFFF#000000##FFFFFF
##3A671F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#396358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a671f;
/* rgb */ color: rgb(58, 103, 31);
/* oklch */ color: oklch(46.5% 0.114 135.8);
Tailwind
colors: {
  custom: {
    50: '#74935f',
    500: '#3a671f',
    950: '#000000',
  },
}
SCSS
$custom: #3a671f;
$custom-light: #74935f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a671f",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.11371,
    "h": 135.8
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#3A671F
secondary
#7C469B
accent
#4BDDA6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #3A671F

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

Preview Lab → · Contrast checker → · Palette generator →

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