#1F752C#1F752C

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

Color values

HEX#1F752C
RGBrgb(31, 117, 44)
HSLhsl(129, 58%, 29%)
HSVhsv(129, 74%, 46%)
CMYKcmyk(73.5%, 0%, 62.4%, 54.1%)
CIE-LABlab(43.06, -41.24, 32.47)
CIE-LCHlch(43.06, 52.48, 141.79°)
OKLaboklab(49.54% -0.1113 0.0765)
OKLCHoklch(49.54% 0.135 145.5)
XYZxyz(7.3805, 13.1949, 4.5403)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F752C #751F68
analogous
#3D751F #1F752C #1F7557
triadic
#1F752C #2C1F75 #752C1F
tetradic
#1F752C #1F3D75 #751F68 #75571F
square
#1F752C #1F3D75 #751F68 #75571F
split-complementary
#1F752C #571F75 #751F3D
monochromatic
#061809 #12451A #1F752C #2CA53E #42CD57

Accessibility & contrast

On white

5.77
#1F752C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F752C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F752C#FFFFFF#000000##FFFFFF
##1F752C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f752c;
/* rgb */ color: rgb(31, 117, 44);
/* oklch */ color: oklch(49.5% 0.135 145.5);
Tailwind
colors: {
  custom: {
    50: '#689e68',
    500: '#1f752c',
    950: '#000000',
  },
}
SCSS
$custom: #1f752c;
$custom-light: #689e68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f752c",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 129.07,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.13509,
    "h": 145.5
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#1F752C
secondary
#A9479A
accent
#46CAE1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F752C

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

Preview Lab → · Contrast checker → · Palette generator →

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