#1F9154#1F9154

#1F9154 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.135 H 154.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F9154
RGBrgb(31, 145, 84)
HSLhsl(148, 65%, 35%)
HSVhsv(148, 79%, 57%)
CMYKcmyk(78.6%, 0%, 42.1%, 43.1%)
CIE-LABlab(53.15, -45.21, 23.79)
CIE-LCHlch(53.15, 51.09, 152.24°)
OKLaboklab(58.07% -0.1217 0.0591)
OKLCHoklch(58.07% 0.135 154.1)
XYZxyz(12.2896, 21.1807, 11.8264)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9154 #911F5C
analogous
#23911F #1F9154 #1F918D
triadic
#1F9154 #541F91 #91541F
tetradic
#1F9154 #1F2391 #911F5C #918D1F
square
#1F9154 #1F2391 #911F5C #918D1F
split-complementary
#1F9154 #8D1F91 #911F23
monochromatic
#092C1A #145F37 #1F9154 #2AC371 #51DA90

Accessibility & contrast

On white

4.01
#1F9154 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#1F9154 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9154
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9154#FFFFFF#000000##000000
##1F91541.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918550
Deuteranopia (green-blind)
#837B58
Tritanopia (blue-blind)
#008F82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9154;
/* rgb */ color: rgb(31, 145, 84);
/* oklch */ color: oklch(58.1% 0.135 154.1);
Tailwind
colors: {
  custom: {
    50: '#6eb285',
    500: '#1f9154',
    950: '#000000',
  },
}
SCSS
$custom: #1f9154;
$custom-light: #6eb285;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9154",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 84
  },
  "hsl": {
    "h": 147.895,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.13532,
    "h": 154.1
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#1F9154
secondary
#BD4F8A
accent
#409AE8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9154

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

Preview Lab → · Contrast checker → · Palette generator →

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