#1F7510#1F7510

#1F7510 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.154 H 141.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F7510
RGBrgb(31, 117, 16)
HSLhsl(111, 76%, 26%)
HSVhsv(111, 86%, 46%)
CMYKcmyk(73.5%, 0%, 86.3%, 54.1%)
CIE-LABlab(42.84, -43.84, 43.57)
CIE-LCHlch(42.84, 61.81, 135.18°)
OKLaboklab(49.29% -0.1198 0.0962)
OKLCHoklch(49.29% 0.154 141.2)
XYZxyz(7.0195, 13.0505, 2.6392)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7510 #661075
analogous
#517510 #1F7510 #107533
triadic
#1F7510 #101F75 #75101F
tetradic
#1F7510 #105175 #661075 #753310
square
#1F7510 #105175 #661075 #753310
split-complementary
#1F7510 #331075 #751051
monochromatic
#071B04 #113F09 #1F7510 #2DAB17 #3CE01F

Accessibility & contrast

On white

5.82
#1F7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7510
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7510#FFFFFF#000000##FFFFFF
##1F75101.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#097163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7510;
/* rgb */ color: rgb(31, 117, 16);
/* oklch */ color: oklch(49.3% 0.154 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e59',
    500: '#1f7510',
    950: '#000000',
  },
}
SCSS
$custom: #1f7510;
$custom-light: #6a9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7510",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 111.089,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.15363,
    "h": 141.2
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#1F7510
secondary
#9A35AC
accent
#35F3D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7510

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

Preview Lab → · Contrast checker → · Palette generator →

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