#1F7629#1F7629

#1F7629 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.139 H 144.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F7629
RGBrgb(31, 118, 41)
HSLhsl(127, 58%, 29%)
HSVhsv(127, 74%, 46%)
CMYKcmyk(73.7%, 0%, 65.3%, 53.7%)
CIE-LABlab(43.37, -41.99, 34.29)
CIE-LCHlch(43.37, 54.21, 140.76°)
OKLaboklab(49.79% -0.1135 0.0801)
OKLCHoklch(49.79% 0.139 144.8)
XYZxyz(7.4433, 13.4074, 4.2930)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7629 #761F6C
analogous
#41761F #1F7629 #1F7655
triadic
#1F7629 #291F76 #76291F
tetradic
#1F7629 #1F4176 #761F6C #76551F
square
#1F7629 #1F4176 #761F6C #76551F
split-complementary
#1F7629 #551F76 #761F41
monochromatic
#061808 #124618 #1F7629 #2CA63A #42CD52

Accessibility & contrast

On white

5.70
#1F7629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F7629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7629
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7629#FFFFFF#000000##FFFFFF
##1F76291.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B20
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7629;
/* rgb */ color: rgb(31, 118, 41);
/* oklch */ color: oklch(49.8% 0.139 144.8);
Tailwind
colors: {
  custom: {
    50: '#699e66',
    500: '#1f7629',
    950: '#000000',
  },
}
SCSS
$custom: #1f7629;
$custom-light: #699e66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7629",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 126.897,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.13894,
    "h": 144.8
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#1F7629
secondary
#AA479E
accent
#46D0E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F7629

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

Preview Lab → · Contrast checker → · Palette generator →

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