#1F9129#1F9129

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

Color values

HEX#1F9129
RGBrgb(31, 145, 41)
HSLhsl(125, 65%, 35%)
HSVhsv(125, 79%, 57%)
CMYKcmyk(78.6%, 0%, 71.7%, 43.1%)
CIE-LABlab(52.62, -51.45, 44.34)
CIE-LCHlch(52.62, 67.92, 139.25°)
OKLaboklab(57.47% -0.1392 0.1014)
OKLCHoklch(57.47% 0.172 143.9)
XYZxyz(11.0900, 20.7009, 5.5086)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9129 #911F87
analogous
#4E911F #1F9129 #1F9162
triadic
#1F9129 #291F91 #91291F
tetradic
#1F9129 #1F4E91 #911F87 #91621F
square
#1F9129 #1F4E91 #911F87 #91621F
split-complementary
#1F9129 #621F91 #911F4E
monochromatic
#092C0C #145F1B #1F9129 #2AC337 #51DA5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9129#FFFFFF#000000##000000
##1F91291.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)
#948319
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9129;
/* rgb */ color: rgb(31, 145, 41);
/* oklch */ color: oklch(57.5% 0.172 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b269',
    500: '#1f9129',
    950: '#000000',
  },
}
SCSS
$custom: #1f9129;
$custom-light: #70b269;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9129",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 41
  },
  "hsl": {
    "h": 125.263,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.17219,
    "h": 143.9
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#1F9129
secondary
#BD4FB3
accent
#40D9E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9129

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

Preview Lab → · Contrast checker → · Palette generator →

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