#1F762E#1F762E

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

Color values

HEX#1F762E
RGBrgb(31, 118, 46)
HSLhsl(130, 58%, 29%)
HSVhsv(130, 74%, 46%)
CMYKcmyk(73.7%, 0%, 61%, 53.7%)
CIE-LABlab(43.43, -41.34, 31.89)
CIE-LCHlch(43.43, 52.22, 142.35°)
OKLaboklab(49.85% -0.1115 0.0755)
OKLCHoklch(49.85% 0.135 145.9)
XYZxyz(7.5361, 13.4446, 4.7821)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F762E #761F67
analogous
#3C761F #1F762E #1F765A
triadic
#1F762E #2E1F76 #762E1F
tetradic
#1F762E #1F3C76 #761F67 #765A1F
square
#1F762E #1F3C76 #761F67 #765A1F
split-complementary
#1F762E #5A1F76 #761F3C
monochromatic
#061809 #12461B #1F762E #2CA641 #42CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F762E#FFFFFF#000000##FFFFFF
##1F762E1.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)
#786B27
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f762e;
/* rgb */ color: rgb(31, 118, 46);
/* oklch */ color: oklch(49.9% 0.135 145.9);
Tailwind
colors: {
  custom: {
    50: '#689e69',
    500: '#1f762e',
    950: '#000000',
  },
}
SCSS
$custom: #1f762e;
$custom-light: #689e69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f762e",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 130.345,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.13467,
    "h": 145.9
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#1F762E
secondary
#AA4799
accent
#46C7E2
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F762E

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

Preview Lab → · Contrast checker → · Palette generator →

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