#3A751C#3A751C

#3A751C is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.135 H 137.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3A751C
RGBrgb(58, 117, 28)
HSLhsl(100, 61%, 28%)
HSVhsv(100, 76%, 46%)
CMYKcmyk(50.4%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.81, -35.82, 40.72)
CIE-LCHlch(43.81, 54.24, 131.34°)
OKLaboklab(50.36% -0.0993 0.0918)
OKLCHoklch(50.36% 0.135 137.3)
XYZxyz(8.3156, 13.7054, 3.3056)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A751C #571C75
analogous
#66751C #3A751C #1C752A
triadic
#3A751C #1C3A75 #751C3A
tetradic
#3A751C #1C6675 #571C75 #752A1C
square
#3A751C #1C6675 #571C75 #752A1C
split-complementary
#3A751C #2A1C75 #751C66
monochromatic
#0C1906 #224410 #3A751C #52A628 #6DD03B

Accessibility & contrast

On white

5.61
#3A751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A751C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A751C#FFFFFF#000000##FFFFFF
##3A751C1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0B
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#367164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a751c;
/* rgb */ color: rgb(58, 117, 28);
/* oklch */ color: oklch(50.4% 0.135 137.3);
Tailwind
colors: {
  custom: {
    50: '#769d5f',
    500: '#3a751c',
    950: '#000000',
  },
}
SCSS
$custom: #3a751c;
$custom-light: #769d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a751c",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 99.775,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.1352,
    "h": 137.3
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#3A751C
secondary
#8744A9
accent
#43E4AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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