#1F804B#1F804B

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

Color values

HEX#1F804B
RGBrgb(31, 128, 75)
HSLhsl(147, 61%, 31%)
HSVhsv(147, 76%, 50%)
CMYKcmyk(75.8%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.28, -40.30, 21.08)
CIE-LCHlch(47.28, 45.48, 152.39°)
OKLaboklab(53.18% -0.1087 0.0525)
OKLCHoklch(53.18% 0.121 154.2)
XYZxyz(9.5534, 16.2365, 9.2857)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F804B #801F54
analogous
#24801F #1F804B #1F807B
triadic
#1F804B #4B1F80 #804B1F
tetradic
#1F804B #1F2480 #801F54 #807B1F
square
#1F804B #1F2480 #801F54 #807B1F
split-complementary
#1F804B #7B1F80 #801F24
monochromatic
#071D11 #134F2E #1F804B #2BB168 #47D286

Accessibility & contrast

On white

4.94
#1F804B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#1F804B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F804B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F804B#FFFFFF#000000##FFFFFF
##1F804B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f804b;
/* rgb */ color: rgb(31, 128, 75);
/* oklch */ color: oklch(53.2% 0.121 154.2);
Tailwind
colors: {
  custom: {
    50: '#6aa67e',
    500: '#1f804b',
    950: '#000000',
  },
}
SCSS
$custom: #1f804b;
$custom-light: #6aa67e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f804b",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 147.216,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.12066,
    "h": 154.2
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#1F804B
secondary
#B34882
accent
#449BE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F804B

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

Preview Lab → · Contrast checker → · Palette generator →

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