#1F9225#1F9225

#1F9225 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.176 H 143.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F9225
RGBrgb(31, 146, 37)
HSLhsl(123, 65%, 35%)
HSVhsv(123, 79%, 57%)
CMYKcmyk(78.8%, 0%, 74.7%, 42.7%)
CIE-LABlab(52.93, -52.14, 46.23)
CIE-LCHlch(52.93, 69.69, 138.44°)
OKLaboklab(57.71% -0.1413 0.1048)
OKLCHoklch(57.71% 0.176 143.4)
XYZxyz(11.1772, 20.9813, 5.2106)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9225 #921F8C
analogous
#53921F #1F9225 #1F925E
triadic
#1F9225 #251F92 #92251F
tetradic
#1F9225 #1F5392 #921F8C #925E1F
square
#1F9225 #1F5392 #921F8C #925E1F
split-complementary
#1F9225 #5E1F92 #921F53
monochromatic
#0A2D0B #146018 #1F9225 #2AC432 #51DA58

Accessibility & contrast

On white

4.04
#1F9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#1F9225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9225
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9225#FFFFFF#000000##000000
##1F92251.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958411
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9225;
/* rgb */ color: rgb(31, 146, 37);
/* oklch */ color: oklch(57.7% 0.176 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b367',
    500: '#1f9225',
    950: '#000000',
  },
}
SCSS
$custom: #1f9225;
$custom-light: #70b367;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9225",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 123.13,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.17588,
    "h": 143.4
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#1F9225
secondary
#BD50B8
accent
#40DFE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9225

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

Preview Lab → · Contrast checker → · Palette generator →

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