#1F9138#1F9138

#1F9138 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.161 H 146.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F9138
RGBrgb(31, 145, 56)
HSLhsl(133, 65%, 35%)
HSVhsv(133, 79%, 57%)
CMYKcmyk(78.6%, 0%, 61.4%, 43.1%)
CIE-LABlab(52.76, -49.77, 37.83)
CIE-LCHlch(52.76, 62.51, 142.76°)
OKLaboklab(57.62% -0.134 0.0891)
OKLCHoklch(57.62% 0.161 146.4)
XYZxyz(11.4034, 20.8263, 7.1595)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9138 #911F78
analogous
#3F911F #1F9138 #1F9171
triadic
#1F9138 #381F91 #91381F
tetradic
#1F9138 #1F3F91 #911F78 #91711F
square
#1F9138 #1F3F91 #911F78 #91711F
split-complementary
#1F9138 #711F91 #911F3F
monochromatic
#092C11 #145F25 #1F9138 #2AC34B #51DA6F

Accessibility & contrast

On white

4.07
#1F9138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#1F9138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9138
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9138#FFFFFF#000000##000000
##1F91381.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832F
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9138;
/* rgb */ color: rgb(31, 145, 56);
/* oklch */ color: oklch(57.6% 0.161 146.4);
Tailwind
colors: {
  custom: {
    50: '#6fb272',
    500: '#1f9138',
    950: '#000000',
  },
}
SCSS
$custom: #1f9138;
$custom-light: #6fb272;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9138",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 133.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.16095,
    "h": 146.4
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#1F9138
secondary
#BD4FA5
accent
#40C3E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F9138

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

Preview Lab → · Contrast checker → · Palette generator →

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