#3A671B#3A671B

#3A671B is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.117 H 135.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3A671B
RGBrgb(58, 103, 27)
HSLhsl(96, 58%, 25%)
HSVhsv(96, 74%, 40%)
CMYKcmyk(43.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(39.03, -29.72, 36.28)
CIE-LCHlch(39.03, 46.90, 129.33°)
OKLaboklab(46.45% -0.0829 0.0823)
OKLCHoklch(46.45% 0.117 135.2)
XYZxyz(6.7928, 10.6788, 2.7400)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A671B #481B67
analogous
#60671B #3A671B #1B6722
triadic
#3A671B #1B3A67 #671B3A
tetradic
#3A671B #1B6067 #481B67 #67221B
square
#3A671B #1B6067 #481B67 #67221B
split-complementary
#3A671B #221B67 #671B60
monochromatic
#0E1806 #1F370E #3A671B #559728 #71C834

Accessibility & contrast

On white

6.70
#3A671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A671B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A671B#FFFFFF#000000##FFFFFF
##3A671B1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a671b;
/* rgb */ color: rgb(58, 103, 27);
/* oklch */ color: oklch(46.4% 0.117 135.2);
Tailwind
colors: {
  custom: {
    50: '#74935c',
    500: '#3a671b',
    950: '#000000',
  },
}
SCSS
$custom: #3a671b;
$custom-light: #74935c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a671b",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 95.526,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.1168,
    "h": 135.2
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#3A671B
secondary
#77429C
accent
#46E2A2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A671B

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

Preview Lab → · Contrast checker → · Palette generator →

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