#1F9236#1F9236

#1F9236 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.164 H 145.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F9236
RGBrgb(31, 146, 54)
HSLhsl(132, 65%, 35%)
HSVhsv(132, 79%, 57%)
CMYKcmyk(78.8%, 0%, 63%, 42.7%)
CIE-LABlab(53.07, -50.37, 39.13)
CIE-LCHlch(53.07, 63.78, 142.16°)
OKLaboklab(57.88% -0.1357 0.0918)
OKLCHoklch(57.88% 0.164 145.9)
XYZxyz(11.5090, 21.1141, 6.9582)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9236 #921F7B
analogous
#42921F #1F9236 #1F9270
triadic
#1F9236 #361F92 #92361F
tetradic
#1F9236 #1F4292 #921F7B #92701F
square
#1F9236 #1F4292 #921F7B #92701F
split-complementary
#1F9236 #701F92 #921F42
monochromatic
#0A2D11 #146023 #1F9236 #2AC449 #51DA6D

Accessibility & contrast

On white

4.02
#1F9236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#1F9236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9236
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9236#FFFFFF#000000##000000
##1F92361.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842C
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9236;
/* rgb */ color: rgb(31, 146, 54);
/* oklch */ color: oklch(57.9% 0.164 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fb370',
    500: '#1f9236',
    950: '#000000',
  },
}
SCSS
$custom: #1f9236;
$custom-light: #6fb370;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9236",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 54
  },
  "hsl": {
    "h": 132,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.16383,
    "h": 145.9
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#1F9236
secondary
#BD50A7
accent
#40C6E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9236

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

Preview Lab → · Contrast checker → · Palette generator →

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