#1F9231#1F9231

#1F9231 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.168 H 145.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F9231
RGBrgb(31, 146, 49)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 57%)
CMYKcmyk(78.8%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.03, -50.96, 41.36)
CIE-LCHlch(53.03, 65.64, 140.93°)
OKLaboklab(57.82% -0.1375 0.096)
OKLCHoklch(57.82% 0.168 145.1)
XYZxyz(11.3975, 21.0695, 6.3713)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9231 #921F80
analogous
#47921F #1F9231 #1F926A
triadic
#1F9231 #311F92 #92311F
tetradic
#1F9231 #1F4792 #921F80 #926A1F
square
#1F9231 #1F4792 #921F80 #926A1F
split-complementary
#1F9231 #6A1F92 #921F47
monochromatic
#0A2D0F #146020 #1F9231 #2AC442 #51DA67

Accessibility & contrast

On white

4.03
#1F9231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#1F9231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9231
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9231#FFFFFF#000000##000000
##1F92311.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#887B3A
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9231;
/* rgb */ color: rgb(31, 146, 49);
/* oklch */ color: oklch(57.8% 0.168 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fb36d',
    500: '#1f9231',
    950: '#000000',
  },
}
SCSS
$custom: #1f9231;
$custom-light: #6fb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9231",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 129.391,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.16771,
    "h": 145.1
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#1F9231
secondary
#BD50AC
accent
#40CEE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9231

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

Preview Lab → · Contrast checker → · Palette generator →

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