#1F762D#1F762D

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

Color values

HEX#1F762D
RGBrgb(31, 118, 45)
HSLhsl(130, 58%, 29%)
HSVhsv(130, 74%, 46%)
CMYKcmyk(73.7%, 0%, 61.9%, 53.7%)
CIE-LABlab(43.41, -41.48, 32.38)
CIE-LCHlch(43.41, 52.62, 142.02°)
OKLaboklab(49.84% -0.1119 0.0764)
OKLCHoklch(49.84% 0.136 145.7)
XYZxyz(7.5166, 13.4368, 4.6795)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F762D #761F68
analogous
#3D761F #1F762D #1F7659
triadic
#1F762D #2D1F76 #762D1F
tetradic
#1F762D #1F3D76 #761F68 #76591F
square
#1F762D #1F3D76 #761F68 #76591F
split-complementary
#1F762D #591F76 #761F3D
monochromatic
#061809 #12461B #1F762D #2CA63F #42CD58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F762D#FFFFFF#000000##FFFFFF
##1F762D1.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)
#786B25
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f762d;
/* rgb */ color: rgb(31, 118, 45);
/* oklch */ color: oklch(49.8% 0.136 145.7);
Tailwind
colors: {
  custom: {
    50: '#699e68',
    500: '#1f762d',
    950: '#000000',
  },
}
SCSS
$custom: #1f762d;
$custom-light: #699e68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f762d",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 129.655,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.13555,
    "h": 145.7
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#1F762D
secondary
#AA479A
accent
#46C9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F762D

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

Preview Lab → · Contrast checker → · Palette generator →

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