#1F9431#1F9431

#1F9431 is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.170 H 145.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#1F9431
RGBrgb(31, 148, 49)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 58%)
CMYKcmyk(79.1%, 0%, 66.9%, 42%)
CIE-LABlab(53.70, -51.64, 42.10)
CIE-LCHlch(53.70, 66.63, 140.81°)
OKLaboklab(58.38% -0.1393 0.0976)
OKLCHoklch(58.38% 0.17 145)
XYZxyz(11.7085, 21.6915, 6.4749)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9431 #941F82
analogous
#47941F #1F9431 #1F946C
triadic
#1F9431 #311F94 #94311F
tetradic
#1F9431 #1F4794 #941F82 #946C1F
square
#1F9431 #1F4794 #941F82 #946C1F
split-complementary
#1F9431 #6C1F94 #941F47
monochromatic
#0A2F0F #146120 #1F9431 #2AC742 #53DB68

Accessibility & contrast

On white

3.93
#1F9431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#1F9431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9431
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9431#FFFFFF#000000##000000
##1F94311.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#009080
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9431;
/* rgb */ color: rgb(31, 148, 49);
/* oklch */ color: oklch(58.4% 0.170 145.0);
Tailwind
colors: {
  custom: {
    50: '#70b56e',
    500: '#1f9431',
    950: '#000000',
  },
}
SCSS
$custom: #1f9431;
$custom-light: #70b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9431",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 49
  },
  "hsl": {
    "h": 129.231,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.17012,
    "h": 145
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#1F9431
secondary
#BE51AD
accent
#3FCEE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9431

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

Preview Lab → · Contrast checker → · Palette generator →

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