#1F7A46#1F7A46

#1F7A46 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.4% C 0.117 H 153.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#1F7A46
RGBrgb(31, 122, 70)
HSLhsl(146, 59%, 30%)
HSVhsv(146, 75%, 48%)
CMYKcmyk(74.6%, 0%, 42.6%, 52.2%)
CIE-LABlab(45.15, -38.87, 21.09)
CIE-LCHlch(45.15, 44.22, 151.51°)
OKLaboklab(51.39% -0.1048 0.0524)
OKLCHoklch(51.39% 0.117 153.4)
XYZxyz(8.6293, 14.6516, 8.1664)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A46 #7A1F53
analogous
#267A1F #1F7A46 #1F7A73
triadic
#1F7A46 #461F7A #7A461F
tetradic
#1F7A46 #1F267A #7A1F53 #7A731F
square
#1F7A46 #1F267A #7A1F53 #7A731F
split-complementary
#1F7A46 #731F7A #7A1F26
monochromatic
#06180E #13492A #1F7A46 #2BAB62 #44CF80

Accessibility & contrast

On white

5.34
#1F7A46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F7A46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A46
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A46#FFFFFF#000000##FFFFFF
##1F7A461.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7042
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7a46;
/* rgb */ color: rgb(31, 122, 70);
/* oklch */ color: oklch(51.4% 0.117 153.4);
Tailwind
colors: {
  custom: {
    50: '#69a17a',
    500: '#1f7a46',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a46;
$custom-light: #69a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a46",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 70
  },
  "hsl": {
    "h": 145.714,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.11714,
    "h": 153.4
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#1F7A46
secondary
#AD4782
accent
#459FE3
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7A46

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

Preview Lab → · Contrast checker → · Palette generator →

#1F7A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva