#1F9130#1F9130

#1F9130 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.5% C 0.167 H 145.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F9130
RGBrgb(31, 145, 48)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 57%)
CMYKcmyk(78.6%, 0%, 66.9%, 43.1%)
CIE-LABlab(52.68, -50.73, 41.43)
CIE-LCHlch(52.68, 65.50, 140.77°)
OKLaboklab(57.53% -0.1369 0.0961)
OKLCHoklch(57.53% 0.167 145)
XYZxyz(11.2232, 20.7542, 6.2102)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9130 #911F80
analogous
#47911F #1F9130 #1F9169
triadic
#1F9130 #301F91 #91301F
tetradic
#1F9130 #1F4791 #911F80 #91691F
square
#1F9130 #1F4791 #911F80 #91691F
split-complementary
#1F9130 #691F91 #911F47
monochromatic
#092C0F #145F1F #1F9130 #2AC341 #51DA65

Accessibility & contrast

On white

4.08
#1F9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9130
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9130#FFFFFF#000000##000000
##1F91301.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948324
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9130;
/* rgb */ color: rgb(31, 145, 48);
/* oklch */ color: oklch(57.5% 0.167 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fb26d',
    500: '#1f9130',
    950: '#000000',
  },
}
SCSS
$custom: #1f9130;
$custom-light: #6fb26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9130",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 128.947,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.16726,
    "h": 145
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#1F9130
secondary
#BD4FAC
accent
#40CFE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9130

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

Preview Lab → · Contrast checker → · Palette generator →

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