#1F760F#1F760F

#1F760F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.155 H 141.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#1F760F
RGBrgb(31, 118, 15)
HSLhsl(111, 77%, 26%)
HSVhsv(111, 87%, 46%)
CMYKcmyk(73.7%, 0%, 87.3%, 53.7%)
CIE-LABlab(43.19, -44.24, 44.16)
CIE-LCHlch(43.19, 62.51, 135.05°)
OKLaboklab(49.58% -0.1209 0.0973)
OKLCHoklch(49.58% 0.155 141.2)
XYZxyz(7.1293, 13.2819, 2.6398)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F760F #660F76
analogous
#52760F #1F760F #0F7632
triadic
#1F760F #0F1F76 #760F1F
tetradic
#1F760F #0F5276 #660F76 #76320F
square
#1F760F #0F5276 #660F76 #76320F
split-complementary
#1F760F #320F76 #760F52
monochromatic
#071B03 #114008 #1F760F #2DAC16 #3CE21D

Accessibility & contrast

On white

5.74
#1F760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1F760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F760F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F760F#FFFFFF#000000##FFFFFF
##1F760F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#087264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f760f;
/* rgb */ color: rgb(31, 118, 15);
/* oklch */ color: oklch(49.6% 0.155 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e59',
    500: '#1f760f',
    950: '#000000',
  },
}
SCSS
$custom: #1f760f;
$custom-light: #6a9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f760f",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 110.68,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.1552,
    "h": 141.2
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#1F760F
secondary
#9A33AD
accent
#34F4D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F760F

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

Preview Lab → · Contrast checker → · Palette generator →

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