#1F9258#1F9258

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

Color values

HEX#1F9258
RGBrgb(31, 146, 88)
HSLhsl(150, 65%, 35%)
HSVhsv(150, 79%, 57%)
CMYKcmyk(78.8%, 0%, 39.7%, 42.7%)
CIE-LABlab(53.55, -44.80, 22.13)
CIE-LCHlch(53.55, 49.97, 153.72°)
OKLaboklab(58.43% -0.1208 0.0552)
OKLCHoklch(58.43% 0.133 155.4)
XYZxyz(12.6042, 21.5521, 12.7263)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9258 #921F59
analogous
#20921F #1F9258 #1F9292
triadic
#1F9258 #581F92 #92581F
tetradic
#1F9258 #1F2092 #921F59 #92921F
square
#1F9258 #1F2092 #921F59 #92921F
split-complementary
#1F9258 #921F92 #921F20
monochromatic
#0A2D1B #14603A #1F9258 #2AC476 #51DA95

Accessibility & contrast

On white

3.95
#1F9258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9258#FFFFFF#000000##000000
##1F92581.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9258;
/* rgb */ color: rgb(31, 146, 88);
/* oklch */ color: oklch(58.4% 0.133 155.4);
Tailwind
colors: {
  custom: {
    50: '#6eb387',
    500: '#1f9258',
    950: '#000000',
  },
}
SCSS
$custom: #1f9258;
$custom-light: #6eb387;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9258",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 88
  },
  "hsl": {
    "h": 149.739,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.13285,
    "h": 155.4
  },
  "luminance": 0.21554
}

Semantic roles & 50–950 ramp

primary
#1F9258
secondary
#BD5087
accent
#4095E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9258

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

Preview Lab → · Contrast checker → · Palette generator →

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