#1F9454#1F9454

#1F9454 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.139 H 153.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F9454
RGBrgb(31, 148, 84)
HSLhsl(147, 65%, 35%)
HSVhsv(147, 79%, 58%)
CMYKcmyk(79.1%, 0%, 43.2%, 42%)
CIE-LABlab(54.14, -46.36, 25.10)
CIE-LCHlch(54.14, 52.72, 151.57°)
OKLaboklab(58.9% -0.1247 0.0621)
OKLCHoklch(58.9% 0.139 153.5)
XYZxyz(12.7540, 22.1097, 11.9812)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9454 #941F5F
analogous
#25941F #1F9454 #1F948E
triadic
#1F9454 #541F94 #94541F
tetradic
#1F9454 #1F2594 #941F5F #948E1F
square
#1F9454 #1F2594 #941F5F #948E1F
split-complementary
#1F9454 #8E1F94 #941F25
monochromatic
#0A2F1B #146137 #1F9454 #2AC771 #53DB90

Accessibility & contrast

On white

3.87
#1F9454 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#1F9454 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9454
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9454#FFFFFF#000000##000000
##1F94541.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874F
Deuteranopia (green-blind)
#867E58
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9454;
/* rgb */ color: rgb(31, 148, 84);
/* oklch */ color: oklch(58.9% 0.139 153.5);
Tailwind
colors: {
  custom: {
    50: '#6fb485',
    500: '#1f9454',
    950: '#000000',
  },
}
SCSS
$custom: #1f9454;
$custom-light: #6fb485;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9454",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 84
  },
  "hsl": {
    "h": 147.179,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.13936,
    "h": 153.5
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#1F9454
secondary
#BE518D
accent
#3F9CE8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9454

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

Preview Lab → · Contrast checker → · Palette generator →

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