#1F762A#1F762A

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

Color values

HEX#1F762A
RGBrgb(31, 118, 42)
HSLhsl(128, 58%, 29%)
HSVhsv(128, 74%, 46%)
CMYKcmyk(73.7%, 0%, 64.4%, 53.7%)
CIE-LABlab(43.38, -41.87, 33.82)
CIE-LCHlch(43.38, 53.82, 141.07°)
OKLaboklab(49.8% -0.1131 0.0792)
OKLCHoklch(49.8% 0.138 145)
XYZxyz(7.4609, 13.4145, 4.3861)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F762A #761F6B
analogous
#40761F #1F762A #1F7656
triadic
#1F762A #2A1F76 #762A1F
tetradic
#1F762A #1F4076 #761F6B #76561F
square
#1F762A #1F4076 #761F6B #76561F
split-complementary
#1F762A #561F76 #761F40
monochromatic
#061809 #124619 #1F762A #2CA63B #42CD54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F762A#FFFFFF#000000##FFFFFF
##1F762A1.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)
#786B21
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f762a;
/* rgb */ color: rgb(31, 118, 42);
/* oklch */ color: oklch(49.8% 0.138 145.0);
Tailwind
colors: {
  custom: {
    50: '#699e67',
    500: '#1f762a',
    950: '#000000',
  },
}
SCSS
$custom: #1f762a;
$custom-light: #699e67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f762a",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 127.586,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.13812,
    "h": 145
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#1F762A
secondary
#AA479D
accent
#46CEE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F762A

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

Preview Lab → · Contrast checker → · Palette generator →

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