#1F9450#1F9450

#1F9450 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.143 H 152.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F9450
RGBrgb(31, 148, 80)
HSLhsl(145, 65%, 35%)
HSVhsv(145, 79%, 58%)
CMYKcmyk(79.1%, 0%, 45.9%, 42%)
CIE-LABlab(54.08, -47.11, 27.17)
CIE-LCHlch(54.08, 54.38, 150.02°)
OKLaboklab(58.82% -0.1266 0.0668)
OKLCHoklch(58.82% 0.143 152.2)
XYZxyz(12.6018, 22.0488, 11.1795)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9450 #941F63
analogous
#29941F #1F9450 #1F948A
triadic
#1F9450 #501F94 #94501F
tetradic
#1F9450 #1F2994 #941F63 #948A1F
square
#1F9450 #1F2994 #941F63 #948A1F
split-complementary
#1F9450 #8A1F94 #941F29
monochromatic
#0A2F19 #146135 #1F9450 #2AC76B #53DB8C

Accessibility & contrast

On white

3.88
#1F9450 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#1F9450 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9450
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9450#FFFFFF#000000##000000
##1F94501.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874B
Deuteranopia (green-blind)
#877D55
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9450;
/* rgb */ color: rgb(31, 148, 80);
/* oklch */ color: oklch(58.8% 0.143 152.2);
Tailwind
colors: {
  custom: {
    50: '#6fb482',
    500: '#1f9450',
    950: '#000000',
  },
}
SCSS
$custom: #1f9450;
$custom-light: #6fb482;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9450",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 80
  },
  "hsl": {
    "h": 145.128,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.14318,
    "h": 152.2
  },
  "luminance": 0.2205
}

Semantic roles & 50–950 ramp

primary
#1F9450
secondary
#BE5190
accent
#3FA2E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F9450

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

Preview Lab → · Contrast checker → · Palette generator →

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