#1F762F#1F762F

#1F762F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.134 H 146.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#1F762F
RGBrgb(31, 118, 47)
HSLhsl(131, 58%, 29%)
HSVhsv(131, 74%, 46%)
CMYKcmyk(73.7%, 0%, 60.2%, 53.7%)
CIE-LABlab(43.44, -41.20, 31.40)
CIE-LCHlch(43.44, 51.80, 142.69°)
OKLaboklab(49.87% -0.1111 0.0745)
OKLCHoklch(49.87% 0.134 146.2)
XYZxyz(7.5561, 13.4526, 4.8872)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F762F #761F66
analogous
#3B761F #1F762F #1F765B
triadic
#1F762F #2F1F76 #762F1F
tetradic
#1F762F #1F3B76 #761F66 #765B1F
square
#1F762F #1F3B76 #761F66 #765B1F
split-complementary
#1F762F #5B1F76 #761F3B
monochromatic
#06180A #12461C #1F762F #2CA642 #42CD5C

Accessibility & contrast

On white

5.69
#1F762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#1F762F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F762F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F762F#FFFFFF#000000##FFFFFF
##1F762F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f762f;
/* rgb */ color: rgb(31, 118, 47);
/* oklch */ color: oklch(49.9% 0.134 146.2);
Tailwind
colors: {
  custom: {
    50: '#689e6a',
    500: '#1f762f',
    950: '#000000',
  },
}
SCSS
$custom: #1f762f;
$custom-light: #689e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f762f",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 131.034,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.13378,
    "h": 146.2
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#1F762F
secondary
#AA4798
accent
#46C5E2
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F762F

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

Preview Lab → · Contrast checker → · Palette generator →

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