#1F9A2E#1F9A2E

#1F9A2E is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.179 H 144.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F9A2E
RGBrgb(31, 154, 46)
HSLhsl(127, 66%, 36%)
HSVhsv(127, 80%, 60%)
CMYKcmyk(79.9%, 0%, 70.1%, 39.6%)
CIE-LABlab(55.68, -53.95, 45.53)
CIE-LCHlch(55.68, 70.59, 139.84°)
OKLaboklab(60.02% -0.1457 0.1045)
OKLCHoklch(60.02% 0.179 144.4)
XYZxyz(12.6130, 23.5983, 6.4744)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A2E #9A1F8B
analogous
#4E9A1F #1F9A2E #1F9A6C
triadic
#1F9A2E #2E1F9A #9A2E1F
tetradic
#1F9A2E #1F4E9A #9A1F8B #9A6C1F
square
#1F9A2E #1F4E9A #9A1F8B #9A6C1F
split-complementary
#1F9A2E #6C1F9A #9A1F4E
monochromatic
#0A3410 #15671F #1F9A2E #29CD3D #56DD67

Accessibility & contrast

On white

3.67
#1F9A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#1F9A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A2E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A2E#FFFFFF#000000##000000
##1F9A2E1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1E
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9a2e;
/* rgb */ color: rgb(31, 154, 46);
/* oklch */ color: oklch(60.0% 0.179 144.4);
Tailwind
colors: {
  custom: {
    50: '#72b96d',
    500: '#1f9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a2e;
$custom-light: #72b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a2e",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 127.317,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.17932,
    "h": 144.4
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#1F9A2E
secondary
#C154B3
accent
#3ED5E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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