#3A7111#3A7111

#3A7111 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.136 H 135.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3A7111
RGBrgb(58, 113, 17)
HSLhsl(94, 74%, 25%)
HSVhsv(94, 85%, 44%)
CMYKcmyk(48.7%, 0%, 85%, 55.7%)
CIE-LABlab(42.38, -34.83, 43.20)
CIE-LCHlch(42.38, 55.49, 128.88°)
OKLaboklab(49.17% -0.0973 0.0952)
OKLCHoklch(49.17% 0.136 135.6)
XYZxyz(7.7510, 12.7498, 2.5827)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7111 #481171
analogous
#6A7111 #3A7111 #117118
triadic
#3A7111 #113A71 #71113A
tetradic
#3A7111 #116A71 #481171 #711811
square
#3A7111 #116A71 #481171 #711811
split-complementary
#3A7111 #181171 #71116A
monochromatic
#0E1B04 #1F3C09 #3A7111 #55A619 #71DB21

Accessibility & contrast

On white

5.92
#3A7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7111
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7111#FFFFFF#000000##FFFFFF
##3A71111.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#386C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7111;
/* rgb */ color: rgb(58, 113, 17);
/* oklch */ color: oklch(49.2% 0.136 135.6);
Tailwind
colors: {
  custom: {
    50: '#769a59',
    500: '#3a7111',
    950: '#000000',
  },
}
SCSS
$custom: #3a7111;
$custom-light: #769a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7111",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 94.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.13616,
    "h": 135.6
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#3A7111
secondary
#7736A8
accent
#37F1A1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7111

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

Preview Lab → · Contrast checker → · Palette generator →

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