#1F804A#1F804A

#1F804A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.122 H 153.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1F804A
RGBrgb(31, 128, 74)
HSLhsl(147, 61%, 31%)
HSVhsv(147, 76%, 50%)
CMYKcmyk(75.8%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.27, -40.50, 21.61)
CIE-LCHlch(47.27, 45.90, 151.91°)
OKLaboklab(53.16% -0.1091 0.0537)
OKLCHoklch(53.16% 0.122 153.8)
XYZxyz(9.5194, 16.2230, 9.1069)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F804A #801F55
analogous
#24801F #1F804A #1F807A
triadic
#1F804A #4A1F80 #804A1F
tetradic
#1F804A #1F2480 #801F55 #807A1F
square
#1F804A #1F2480 #801F55 #807A1F
split-complementary
#1F804A #7A1F80 #801F24
monochromatic
#071D11 #134F2E #1F804A #2BB166 #47D285

Accessibility & contrast

On white

4.95
#1F804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#1F804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F804A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F804A#FFFFFF#000000##FFFFFF
##1F804A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#746D4E
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f804a;
/* rgb */ color: rgb(31, 128, 74);
/* oklch */ color: oklch(53.2% 0.122 153.8);
Tailwind
colors: {
  custom: {
    50: '#6aa67d',
    500: '#1f804a',
    950: '#000000',
  },
}
SCSS
$custom: #1f804a;
$custom-light: #6aa67d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f804a",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 146.598,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.12164,
    "h": 153.8
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#1F804A
secondary
#B34883
accent
#449DE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F804A

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

Preview Lab → · Contrast checker → · Palette generator →

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