#1F8450#1F8450

#1F8450 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.121 H 155.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8450
RGBrgb(31, 132, 80)
HSLhsl(149, 62%, 32%)
HSVhsv(149, 77%, 52%)
CMYKcmyk(76.5%, 0%, 39.4%, 48.2%)
CIE-LABlab(48.73, -40.89, 20.17)
CIE-LCHlch(48.73, 45.60, 153.74°)
OKLaboklab(54.4% -0.1104 0.0504)
OKLCHoklch(54.4% 0.121 155.4)
XYZxyz(10.2633, 17.3718, 10.4001)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8450 #841F53
analogous
#21841F #1F8450 #1F8483
triadic
#1F8450 #501F84 #84501F
tetradic
#1F8450 #1F2184 #841F53 #84831F
square
#1F8450 #1F2184 #841F53 #84831F
split-complementary
#1F8450 #831F84 #841F21
monochromatic
#082114 #135232 #1F8450 #2BB66E #49D48D

Accessibility & contrast

On white

4.69
#1F8450 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8450 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8450
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8450#FFFFFF#000000##FFFFFF
##1F84501.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794C
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8450;
/* rgb */ color: rgb(31, 132, 80);
/* oklch */ color: oklch(54.4% 0.121 155.4);
Tailwind
colors: {
  custom: {
    50: '#6ba981',
    500: '#1f8450',
    950: '#000000',
  },
}
SCSS
$custom: #1f8450;
$custom-light: #6ba981;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8450",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 149.109,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.12135,
    "h": 155.4
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#1F8450
secondary
#B74881
accent
#4396E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8450

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

Preview Lab → · Contrast checker → · Palette generator →

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