#1F8248#1F8248

#1F8248 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.126 H 152.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8248
RGBrgb(31, 130, 72)
HSLhsl(145, 61%, 32%)
HSVhsv(145, 76%, 51%)
CMYKcmyk(76.2%, 0%, 44.6%, 49%)
CIE-LABlab(47.91, -41.68, 23.57)
CIE-LCHlch(47.91, 47.88, 150.51°)
OKLaboklab(53.68% -0.1122 0.0582)
OKLCHoklch(53.68% 0.126 152.6)
XYZxyz(9.7165, 16.7233, 8.8455)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8248 #821F59
analogous
#28821F #1F8248 #1F827A
triadic
#1F8248 #481F82 #82481F
tetradic
#1F8248 #1F2882 #821F59 #827A1F
square
#1F8248 #1F2882 #821F59 #827A1F
split-complementary
#1F8248 #7A1F82 #821F28
monochromatic
#071F11 #13512D #1F8248 #2BB363 #48D382

Accessibility & contrast

On white

4.83
#1F8248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8248
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8248#FFFFFF#000000##FFFFFF
##1F82481.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827744
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8248;
/* rgb */ color: rgb(31, 130, 72);
/* oklch */ color: oklch(53.7% 0.126 152.6);
Tailwind
colors: {
  custom: {
    50: '#6ba77c',
    500: '#1f8248',
    950: '#000000',
  },
}
SCSS
$custom: #1f8248;
$custom-light: #6ba77c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8248",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 144.848,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.12641,
    "h": 152.6
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#1F8248
secondary
#B54888
accent
#43A2E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8248

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

Preview Lab → · Contrast checker → · Palette generator →

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