#1F751C#1F751C

#1F751C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.147 H 142.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F751C
RGBrgb(31, 117, 28)
HSLhsl(118, 61%, 28%)
HSVhsv(118, 76%, 46%)
CMYKcmyk(73.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(42.91, -42.99, 39.53)
CIE-LCHlch(42.91, 58.40, 137.40°)
OKLaboklab(49.37% -0.1169 0.0896)
OKLCHoklch(49.37% 0.147 142.5)
XYZxyz(7.1355, 13.0969, 3.2503)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F751C #721C75
analogous
#4B751C #1F751C #1C7545
triadic
#1F751C #1C1F75 #751C1F
tetradic
#1F751C #1C4B75 #721C75 #75451C
square
#1F751C #1C4B75 #721C75 #75451C
split-complementary
#1F751C #451C75 #751C4B
monochromatic
#071906 #124410 #1F751C #2CA628 #40D03B

Accessibility & contrast

On white

5.80
#1F751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#1F751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F751C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F751C#FFFFFF#000000##FFFFFF
##1F751C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#057164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f751c;
/* rgb */ color: rgb(31, 117, 28);
/* oklch */ color: oklch(49.4% 0.147 142.5);
Tailwind
colors: {
  custom: {
    50: '#699e5e',
    500: '#1f751c',
    950: '#000000',
  },
}
SCSS
$custom: #1f751c;
$custom-light: #699e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f751c",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 117.978,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.14723,
    "h": 142.5
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#1F751C
secondary
#A644A9
accent
#43E4DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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