#1F9257#1F9257

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

Color values

HEX#1F9257
RGBrgb(31, 146, 87)
HSLhsl(149, 65%, 35%)
HSVhsv(149, 79%, 57%)
CMYKcmyk(78.8%, 0%, 40.4%, 42.7%)
CIE-LABlab(53.53, -45.01, 22.65)
CIE-LCHlch(53.53, 50.38, 153.28°)
OKLaboklab(58.41% -0.1213 0.0565)
OKLCHoklch(58.41% 0.134 155)
XYZxyz(12.5631, 21.5357, 12.5097)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9257 #921F5A
analogous
#21921F #1F9257 #1F9290
triadic
#1F9257 #571F92 #92571F
tetradic
#1F9257 #1F2192 #921F5A #92901F
square
#1F9257 #1F2192 #921F5A #92901F
split-complementary
#1F9257 #901F92 #921F21
monochromatic
#0A2D1B #146039 #1F9257 #2AC475 #51DA94

Accessibility & contrast

On white

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

On black

5.31
#1F9257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9257
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9257#FFFFFF#000000##000000
##1F92571.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9257;
/* rgb */ color: rgb(31, 146, 87);
/* oklch */ color: oklch(58.4% 0.134 155.0);
Tailwind
colors: {
  custom: {
    50: '#6eb387',
    500: '#1f9257',
    950: '#000000',
  },
}
SCSS
$custom: #1f9257;
$custom-light: #6eb387;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9257",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 87
  },
  "hsl": {
    "h": 149.217,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.13381,
    "h": 155
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#1F9257
secondary
#BD5088
accent
#4096E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9257

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

Preview Lab → · Contrast checker → · Palette generator →

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