#1F7E46#1F7E46

#1F7E46 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.123 H 152.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7E46
RGBrgb(31, 126, 70)
HSLhsl(145, 61%, 31%)
HSVhsv(145, 75%, 49%)
CMYKcmyk(75.4%, 0%, 44.4%, 50.6%)
CIE-LABlab(46.52, -40.48, 22.87)
CIE-LCHlch(46.52, 46.49, 150.53°)
OKLaboklab(52.52% -0.109 0.0565)
OKLCHoklch(52.52% 0.123 152.6)
XYZxyz(9.1306, 15.6542, 8.3335)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E46 #7E1F57
analogous
#277E1F #1F7E46 #1F7E75
triadic
#1F7E46 #461F7E #7E461F
tetradic
#1F7E46 #1F277E #7E1F57 #7E751F
square
#1F7E46 #1F277E #7E1F57 #7E751F
split-complementary
#1F7E46 #751F7E #7E1F27
monochromatic
#071C0F #134D2B #1F7E46 #2BAF61 #46D17F

Accessibility & contrast

On white

5.08
#1F7E46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7E46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E46
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E46#FFFFFF#000000##FFFFFF
##1F7E461.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7e46;
/* rgb */ color: rgb(31, 126, 70);
/* oklch */ color: oklch(52.5% 0.123 152.6);
Tailwind
colors: {
  custom: {
    50: '#6aa47a',
    500: '#1f7e46',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e46;
$custom-light: #6aa47a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e46",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 70
  },
  "hsl": {
    "h": 144.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.12279,
    "h": 152.6
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#1F7E46
secondary
#B14886
accent
#44A2E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7E46

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

Preview Lab → · Contrast checker → · Palette generator →

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