#1F7B46#1F7B46

#1F7B46 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.119 H 153.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1F7B46
RGBrgb(31, 123, 70)
HSLhsl(145, 60%, 30%)
HSVhsv(145, 75%, 48%)
CMYKcmyk(74.8%, 0%, 43.1%, 51.8%)
CIE-LABlab(45.49, -39.27, 21.54)
CIE-LCHlch(45.49, 44.79, 151.26°)
OKLaboklab(51.68% -0.1058 0.0534)
OKLCHoklch(51.68% 0.119 153.2)
XYZxyz(8.7527, 14.8984, 8.2076)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B46 #7B1F54
analogous
#267B1F #1F7B46 #1F7B74
triadic
#1F7B46 #461F7B #7B461F
tetradic
#1F7B46 #1F267B #7B1F54 #7B741F
square
#1F7B46 #1F267B #7B1F54 #7B741F
split-complementary
#1F7B46 #741F7B #7B1F26
monochromatic
#06190E #134A2A #1F7B46 #2BAC62 #44D080

Accessibility & contrast

On white

5.28
#1F7B46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1F7B46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B46
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B46#FFFFFF#000000##FFFFFF
##1F7B461.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7042
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7b46;
/* rgb */ color: rgb(31, 123, 70);
/* oklch */ color: oklch(51.7% 0.119 153.2);
Tailwind
colors: {
  custom: {
    50: '#69a27a',
    500: '#1f7b46',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b46;
$custom-light: #69a27a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b46",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 70
  },
  "hsl": {
    "h": 145.435,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.11856,
    "h": 153.2
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#1F7B46
secondary
#AE4883
accent
#45A0E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7B46

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

Preview Lab → · Contrast checker → · Palette generator →

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