#1F9125#1F9125

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

Color values

HEX#1F9125
RGBrgb(31, 145, 37)
HSLhsl(123, 65%, 35%)
HSVhsv(123, 79%, 57%)
CMYKcmyk(78.6%, 0%, 74.5%, 43.1%)
CIE-LABlab(52.59, -51.82, 45.89)
CIE-LCHlch(52.59, 69.21, 138.47°)
OKLaboklab(57.43% -0.1404 0.1041)
OKLCHoklch(57.43% 0.175 143.4)
XYZxyz(11.0237, 20.6744, 5.1595)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9125 #911F8B
analogous
#52911F #1F9125 #1F915E
triadic
#1F9125 #251F91 #91251F
tetradic
#1F9125 #1F5291 #911F8B #915E1F
square
#1F9125 #1F5291 #911F8B #915E1F
split-complementary
#1F9125 #5E1F91 #911F52
monochromatic
#092C0B #145F18 #1F9125 #2AC332 #51DA58

Accessibility & contrast

On white

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

On black

5.14
#1F9125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9125
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9125#FFFFFF#000000##000000
##1F91251.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9125;
/* rgb */ color: rgb(31, 145, 37);
/* oklch */ color: oklch(57.4% 0.175 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b267',
    500: '#1f9125',
    950: '#000000',
  },
}
SCSS
$custom: #1f9125;
$custom-light: #70b267;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9125",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 123.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.17474,
    "h": 143.4
  },
  "luminance": 0.20676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9125

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

Preview Lab → · Contrast checker → · Palette generator →

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