#1F9239#1F9239

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

Color values

HEX#1F9239
RGBrgb(31, 146, 57)
HSLhsl(134, 65%, 35%)
HSVhsv(134, 79%, 57%)
CMYKcmyk(78.8%, 0%, 61%, 42.7%)
CIE-LABlab(53.11, -49.99, 37.75)
CIE-LCHlch(53.11, 62.64, 142.94°)
OKLaboklab(57.92% -0.1346 0.0891)
OKLCHoklch(57.92% 0.161 146.5)
XYZxyz(11.5816, 21.1431, 7.3407)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9239 #921F78
analogous
#3F921F #1F9239 #1F9273
triadic
#1F9239 #391F92 #92391F
tetradic
#1F9239 #1F3F92 #921F78 #92731F
square
#1F9239 #1F3F92 #921F78 #92731F
split-complementary
#1F9239 #731F92 #921F3F
monochromatic
#0A2D12 #146025 #1F9239 #2AC44D #51DA70

Accessibility & contrast

On white

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

On black

5.23
#1F9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9239
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9239#FFFFFF#000000##000000
##1F92391.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948430
Deuteranopia (green-blind)
#877B40
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9239;
/* rgb */ color: rgb(31, 146, 57);
/* oklch */ color: oklch(57.9% 0.161 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fb372',
    500: '#1f9239',
    950: '#000000',
  },
}
SCSS
$custom: #1f9239;
$custom-light: #6fb372;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9239",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 133.565,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.16138,
    "h": 146.5
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#1F9239
secondary
#BD50A4
accent
#40C2E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9239

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

Preview Lab → · Contrast checker → · Palette generator →

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