#3A741B#3A741B

#3A741B is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.135 H 137.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A741B
RGBrgb(58, 116, 27)
HSLhsl(99, 62%, 28%)
HSVhsv(99, 77%, 45%)
CMYKcmyk(50%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.46, -35.47, 40.77)
CIE-LCHlch(43.46, 54.04, 131.03°)
OKLaboklab(50.08% -0.0984 0.0917)
OKLCHoklch(50.08% 0.135 137)
XYZxyz(8.1879, 13.4689, 3.2050)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A741B #551B74
analogous
#66741B #3A741B #1B7428
triadic
#3A741B #1B3A74 #741B3A
tetradic
#3A741B #1B6674 #551B74 #74281B
square
#3A741B #1B6674 #551B74 #74281B
split-complementary
#3A741B #281B74 #741B66
monochromatic
#0C1906 #21420F #3A741B #53A627 #6ED139

Accessibility & contrast

On white

5.69
#3A741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A741B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A741B#FFFFFF#000000##FFFFFF
##3A741B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0A
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#377063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a741b;
/* rgb */ color: rgb(58, 116, 27);
/* oklch */ color: oklch(50.1% 0.135 137.0);
Tailwind
colors: {
  custom: {
    50: '#769c5e',
    500: '#3a741b',
    950: '#000000',
  },
}
SCSS
$custom: #3a741b;
$custom-light: #769c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a741b",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 99.101,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.13453,
    "h": 137
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#3A741B
secondary
#8542A9
accent
#42E5AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A741B

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

Preview Lab → · Contrast checker → · Palette generator →

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