#3A7114#3A7114

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

Color values

HEX#3A7114
RGBrgb(58, 113, 20)
HSLhsl(95, 70%, 26%)
HSVhsv(95, 82%, 44%)
CMYKcmyk(48.7%, 0%, 82.3%, 55.7%)
CIE-LABlab(42.40, -34.66, 42.26)
CIE-LCHlch(42.40, 54.66, 129.36°)
OKLaboklab(49.19% -0.0967 0.0937)
OKLCHoklch(49.19% 0.135 135.9)
XYZxyz(7.7761, 12.7598, 2.7148)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7114 #4B1471
analogous
#687114 #3A7114 #14711C
triadic
#3A7114 #143A71 #71143A
tetradic
#3A7114 #146871 #4B1471 #711C14
square
#3A7114 #146871 #4B1471 #711C14
split-complementary
#3A7114 #1C1471 #711468
monochromatic
#0D1A05 #1F3D0B #3A7114 #55A51D #6FD927

Accessibility & contrast

On white

5.91
#3A7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A7114
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7114#FFFFFF#000000##FFFFFF
##3A71141.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7114;
/* rgb */ color: rgb(58, 113, 20);
/* oklch */ color: oklch(49.2% 0.135 135.9);
Tailwind
colors: {
  custom: {
    50: '#769a5a',
    500: '#3a7114',
    950: '#000000',
  },
}
SCSS
$custom: #3a7114;
$custom-light: #769a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7114",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 95.484,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.13467,
    "h": 135.9
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#3A7114
secondary
#7A39A7
accent
#3BEDA4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7114

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

Preview Lab → · Contrast checker → · Palette generator →

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