#1F9121#1F9121

#1F9121 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.4% C 0.177 H 143.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F9121
RGBrgb(31, 145, 33)
HSLhsl(121, 65%, 35%)
HSVhsv(121, 79%, 57%)
CMYKcmyk(78.6%, 0%, 77.2%, 43.1%)
CIE-LABlab(52.56, -52.14, 47.34)
CIE-LCHlch(52.56, 70.42, 137.77°)
OKLaboklab(57.4% -0.1414 0.1065)
OKLCHoklch(57.4% 0.177 143)
XYZxyz(10.9643, 20.6506, 4.8467)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9121 #911F8F
analogous
#56911F #1F9121 #1F915A
triadic
#1F9121 #211F91 #91211F
tetradic
#1F9121 #1F5691 #911F8F #915A1F
square
#1F9121 #1F5691 #911F8F #915A1F
split-complementary
#1F9121 #5A1F91 #911F56
monochromatic
#092C0A #145F16 #1F9121 #2AC32C #51DA53

Accessibility & contrast

On white

4.09
#1F9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#1F9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9121
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9121#FFFFFF#000000##000000
##1F91211.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9121;
/* rgb */ color: rgb(31, 145, 33);
/* oklch */ color: oklch(57.4% 0.177 143.0);
Tailwind
colors: {
  custom: {
    50: '#70b265',
    500: '#1f9121',
    950: '#000000',
  },
}
SCSS
$custom: #1f9121;
$custom-light: #70b265;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9121",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 121.053,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.17708,
    "h": 143
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#1F9121
secondary
#BD4FBB
accent
#40E5E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9121

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

Preview Lab → · Contrast checker → · Palette generator →

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