#1F9458#1F9458

#1F9458 is a mid, vivid green. Relative luminance 0.222; OKLCH L 59.0% C 0.136 H 155.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1F9458
RGBrgb(31, 148, 88)
HSLhsl(149, 65%, 35%)
HSVhsv(149, 79%, 58%)
CMYKcmyk(79.1%, 0%, 40.5%, 42%)
CIE-LABlab(54.21, -45.58, 23.00)
CIE-LCHlch(54.21, 51.06, 153.22°)
OKLaboklab(58.97% -0.1228 0.0573)
OKLCHoklch(58.97% 0.136 155)
XYZxyz(12.9152, 22.1741, 12.8300)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9458 #941F5B
analogous
#20941F #1F9458 #1F9493
triadic
#1F9458 #581F94 #94581F
tetradic
#1F9458 #1F2094 #941F5B #94931F
square
#1F9458 #1F2094 #941F5B #94931F
split-complementary
#1F9458 #931F94 #941F20
monochromatic
#0A2F1C #14613A #1F9458 #2AC776 #53DB95

Accessibility & contrast

On white

3.86
#1F9458 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#1F9458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9458
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9458#FFFFFF#000000##000000
##1F94581.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938754
Deuteranopia (green-blind)
#867E5C
Tritanopia (blue-blind)
#009285
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9458;
/* rgb */ color: rgb(31, 148, 88);
/* oklch */ color: oklch(59.0% 0.136 155.0);
Tailwind
colors: {
  custom: {
    50: '#6fb487',
    500: '#1f9458',
    950: '#000000',
  },
}
SCSS
$custom: #1f9458;
$custom-light: #6fb487;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9458",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 88
  },
  "hsl": {
    "h": 149.231,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.13555,
    "h": 155
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#1F9458
secondary
#BE5189
accent
#3F96E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9458

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

Preview Lab → · Contrast checker → · Palette generator →

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