#1F9255#1F9255

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

Color values

HEX#1F9255
RGBrgb(31, 146, 85)
HSLhsl(148, 65%, 35%)
HSVhsv(148, 79%, 57%)
CMYKcmyk(78.8%, 0%, 41.8%, 42.7%)
CIE-LABlab(53.50, -45.40, 23.70)
CIE-LCHlch(53.50, 51.22, 152.43°)
OKLaboklab(58.37% -0.1223 0.0589)
OKLCHoklch(58.37% 0.136 154.3)
XYZxyz(12.4825, 21.5035, 12.0853)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9255 #921F5C
analogous
#22921F #1F9255 #1F928F
triadic
#1F9255 #551F92 #92551F
tetradic
#1F9255 #1F2292 #921F5C #928F1F
square
#1F9255 #1F2292 #921F5C #928F1F
split-complementary
#1F9255 #8F1F92 #921F22
monochromatic
#0A2D1A #146038 #1F9255 #2AC472 #51DA92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9255#FFFFFF#000000##000000
##1F92551.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)
#928651
Deuteranopia (green-blind)
#847C59
Tritanopia (blue-blind)
#009083
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9255;
/* rgb */ color: rgb(31, 146, 85);
/* oklch */ color: oklch(58.4% 0.136 154.3);
Tailwind
colors: {
  custom: {
    50: '#6eb385',
    500: '#1f9255',
    950: '#000000',
  },
}
SCSS
$custom: #1f9255;
$custom-light: #6eb385;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9255",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 85
  },
  "hsl": {
    "h": 148.174,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58366,
    "c": 0.13572,
    "h": 154.3
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#1F9255
secondary
#BD508A
accent
#4099E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9255

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

Preview Lab → · Contrast checker → · Palette generator →

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