#1F9029#1F9029

#1F9029 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.171 H 144.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F9029
RGBrgb(31, 144, 41)
HSLhsl(125, 65%, 34%)
HSVhsv(125, 78%, 56%)
CMYKcmyk(78.5%, 0%, 71.5%, 43.5%)
CIE-LABlab(52.28, -51.12, 43.99)
CIE-LCHlch(52.28, 67.44, 139.29°)
OKLaboklab(57.18% -0.1383 0.1006)
OKLCHoklch(57.18% 0.171 144)
XYZxyz(10.9378, 20.3966, 5.4579)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9029 #901F86
analogous
#4E901F #1F9029 #1F9062
triadic
#1F9029 #291F90 #90291F
tetradic
#1F9029 #1F4E90 #901F86 #90621F
square
#1F9029 #1F4E90 #901F86 #90621F
split-complementary
#1F9029 #621F90 #901F4E
monochromatic
#092B0C #145E1B #1F9029 #2AC237 #50D95C

Accessibility & contrast

On white

4.13
#1F9029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F9029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9029
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9029#FFFFFF#000000##000000
##1F90291.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9029;
/* rgb */ color: rgb(31, 144, 41);
/* oklch */ color: oklch(57.2% 0.171 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fb269',
    500: '#1f9029',
    950: '#000000',
  },
}
SCSS
$custom: #1f9029;
$custom-light: #6fb269;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9029",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 41
  },
  "hsl": {
    "h": 125.31,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.17102,
    "h": 144
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9029

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

Preview Lab → · Contrast checker → · Palette generator →

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