#3A7011#3A7011

#3A7011 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.135 H 135.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7011
RGBrgb(58, 112, 17)
HSLhsl(94, 74%, 25%)
HSVhsv(94, 85%, 44%)
CMYKcmyk(48.2%, 0%, 84.8%, 56.1%)
CIE-LABlab(42.04, -34.40, 42.89)
CIE-LCHlch(42.04, 54.98, 128.73°)
OKLaboklab(48.89% -0.0962 0.0946)
OKLCHoklch(48.89% 0.135 135.5)
XYZxyz(7.6401, 12.5279, 2.5457)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7011 #471170
analogous
#697011 #3A7011 #117017
triadic
#3A7011 #113A70 #70113A
tetradic
#3A7011 #116970 #471170 #701711
square
#3A7011 #116970 #471170 #701711
split-complementary
#3A7011 #171170 #701169
monochromatic
#0E1B04 #1E3B09 #3A7011 #56A519 #71DA21

Accessibility & contrast

On white

5.99
#3A7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7011
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7011#FFFFFF#000000##FFFFFF
##3A70111.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#386B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7011;
/* rgb */ color: rgb(58, 112, 17);
/* oklch */ color: oklch(48.9% 0.135 135.5);
Tailwind
colors: {
  custom: {
    50: '#769959',
    500: '#3a7011',
    950: '#000000',
  },
}
SCSS
$custom: #3a7011;
$custom-light: #769959;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7011",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 94.105,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.13489,
    "h": 135.5
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#3A7011
secondary
#7635A7
accent
#37F0A1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7011

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

Preview Lab → · Contrast checker → · Palette generator →

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