#3A751A#3A751A

#3A751A is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.136 H 137.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3A751A
RGBrgb(58, 117, 26)
HSLhsl(99, 64%, 28%)
HSVhsv(99, 78%, 46%)
CMYKcmyk(50.4%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.79, -35.97, 41.48)
CIE-LCHlch(43.79, 54.90, 130.93°)
OKLaboklab(50.35% -0.0998 0.093)
OKLCHoklch(50.35% 0.136 137)
XYZxyz(8.2924, 13.6961, 3.1837)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A751A #551A75
analogous
#67751A #3A751A #1A7527
triadic
#3A751A #1A3A75 #751A3A
tetradic
#3A751A #1A6775 #551A75 #75271A
square
#3A751A #1A6775 #551A75 #75271A
split-complementary
#3A751A #271A75 #751A67
monochromatic
#0C1906 #21430F #3A751A #53A725 #6ED337

Accessibility & contrast

On white

5.62
#3A751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A751A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A751A#FFFFFF#000000##FFFFFF
##3A751A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B07
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#377164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a751a;
/* rgb */ color: rgb(58, 117, 26);
/* oklch */ color: oklch(50.3% 0.136 137.0);
Tailwind
colors: {
  custom: {
    50: '#769d5e',
    500: '#3a751a',
    950: '#000000',
  },
}
SCSS
$custom: #3a751a;
$custom-light: #769d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a751a",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 98.901,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.13646,
    "h": 137
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#3A751A
secondary
#8541AA
accent
#41E7AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A751A

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

Preview Lab → · Contrast checker → · Palette generator →

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