#1F9251#1F9251

#1F9251 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.3% C 0.140 H 152.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F9251
RGBrgb(31, 146, 81)
HSLhsl(146, 65%, 35%)
HSVhsv(146, 79%, 57%)
CMYKcmyk(78.8%, 0%, 44.5%, 42.7%)
CIE-LABlab(53.43, -46.17, 25.80)
CIE-LCHlch(53.43, 52.89, 150.81°)
OKLaboklab(58.29% -0.1242 0.0637)
OKLCHoklch(58.29% 0.14 152.8)
XYZxyz(12.3280, 21.4417, 11.2719)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9251 #921F60
analogous
#26921F #1F9251 #1F928B
triadic
#1F9251 #511F92 #92511F
tetradic
#1F9251 #1F2692 #921F60 #928B1F
square
#1F9251 #1F2692 #921F60 #928B1F
split-complementary
#1F9251 #8B1F92 #921F26
monochromatic
#0A2D19 #146035 #1F9251 #2AC46D #51DA8D

Accessibility & contrast

On white

3.97
#1F9251 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#1F9251 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9251
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9251#FFFFFF#000000##000000
##1F92511.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854C
Deuteranopia (green-blind)
#857C55
Tritanopia (blue-blind)
#009082
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9251;
/* rgb */ color: rgb(31, 146, 81);
/* oklch */ color: oklch(58.3% 0.140 152.8);
Tailwind
colors: {
  custom: {
    50: '#6eb382',
    500: '#1f9251',
    950: '#000000',
  },
}
SCSS
$custom: #1f9251;
$custom-light: #6eb382;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9251",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 81
  },
  "hsl": {
    "h": 146.087,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.13955,
    "h": 152.8
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#1F9251
secondary
#BD508E
accent
#409FE8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F9251

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

Preview Lab → · Contrast checker → · Palette generator →

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