#1F9256#1F9256

#1F9256 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.4% C 0.135 H 154.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1F9256
RGBrgb(31, 146, 86)
HSLhsl(149, 65%, 35%)
HSVhsv(149, 79%, 57%)
CMYKcmyk(78.8%, 0%, 41.1%, 42.7%)
CIE-LABlab(53.51, -45.21, 23.18)
CIE-LCHlch(53.51, 50.80, 152.85°)
OKLaboklab(58.39% -0.1218 0.0577)
OKLCHoklch(58.39% 0.135 154.7)
XYZxyz(12.5225, 21.5195, 12.2960)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9256 #921F5B
analogous
#21921F #1F9256 #1F9290
triadic
#1F9256 #561F92 #92561F
tetradic
#1F9256 #1F2192 #921F5B #92901F
square
#1F9256 #1F2192 #921F5B #92901F
split-complementary
#1F9256 #901F92 #921F21
monochromatic
#0A2D1B #146038 #1F9256 #2AC474 #51DA93

Accessibility & contrast

On white

3.96
#1F9256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#1F9256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9256
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9256#FFFFFF#000000##000000
##1F92561.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928652
Deuteranopia (green-blind)
#847C5A
Tritanopia (blue-blind)
#009083
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9256;
/* rgb */ color: rgb(31, 146, 86);
/* oklch */ color: oklch(58.4% 0.135 154.7);
Tailwind
colors: {
  custom: {
    50: '#6eb386',
    500: '#1f9256',
    950: '#000000',
  },
}
SCSS
$custom: #1f9256;
$custom-light: #6eb386;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9256",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 86
  },
  "hsl": {
    "h": 148.696,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.13476,
    "h": 154.7
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#1F9256
secondary
#BD5089
accent
#4098E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9256

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

Preview Lab → · Contrast checker → · Palette generator →

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