#1F752A#1F752A

#1F752A is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.137 H 145.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F752A
RGBrgb(31, 117, 42)
HSLhsl(128, 58%, 29%)
HSVhsv(128, 74%, 46%)
CMYKcmyk(73.5%, 0%, 64.1%, 54.1%)
CIE-LABlab(43.03, -41.50, 33.43)
CIE-LCHlch(43.03, 53.28, 141.15°)
OKLaboklab(49.51% -0.1121 0.0784)
OKLCHoklch(49.51% 0.137 145)
XYZxyz(7.3438, 13.1802, 4.3471)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F752A #751F6A
analogous
#3F751F #1F752A #1F7555
triadic
#1F752A #2A1F75 #752A1F
tetradic
#1F752A #1F3F75 #751F6A #75551F
square
#1F752A #1F3F75 #751F6A #75551F
split-complementary
#1F752A #551F75 #751F3F
monochromatic
#061809 #124519 #1F752A #2CA53B #42CD53

Accessibility & contrast

On white

5.78
#1F752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#1F752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F752A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F752A#FFFFFF#000000##FFFFFF
##1F752A1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A22
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f752a;
/* rgb */ color: rgb(31, 117, 42);
/* oklch */ color: oklch(49.5% 0.137 145.0);
Tailwind
colors: {
  custom: {
    50: '#689e66',
    500: '#1f752a',
    950: '#000000',
  },
}
SCSS
$custom: #1f752a;
$custom-light: #689e66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f752a",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 127.674,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.1368,
    "h": 145
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#1F752A
secondary
#A9479C
accent
#46CEE1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F752A

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

Preview Lab → · Contrast checker → · Palette generator →

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