#1F8115#1F8115

#1F8115 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.165 H 141.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F8115
RGBrgb(31, 129, 21)
HSLhsl(114, 72%, 29%)
HSVhsv(114, 84%, 51%)
CMYKcmyk(76%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.03, -47.66, 45.97)
CIE-LCHlch(47.03, 66.22, 136.03°)
OKLaboklab(52.78% -0.1298 0.102)
OKLCHoklch(52.78% 0.165 141.9)
XYZxyz(8.5502, 16.0450, 3.3557)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8115 #771581
analogous
#558115 #1F8115 #158141
triadic
#1F8115 #151F81 #81151F
tetradic
#1F8115 #155581 #771581 #814115
square
#1F8115 #155581 #771581 #814115
split-complementary
#1F8115 #411581 #811555
monochromatic
#061A04 #124C0C #1F8115 #2CB61E #43DE33

Accessibility & contrast

On white

4.99
#1F8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8115
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8115#FFFFFF#000000##FFFFFF
##1F81151.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8115;
/* rgb */ color: rgb(31, 129, 21);
/* oklch */ color: oklch(52.8% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da75d',
    500: '#1f8115',
    950: '#000000',
  },
}
SCSS
$custom: #1f8115;
$custom-light: #6da75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8115",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 114.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.16512,
    "h": 141.9
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#1F8115
secondary
#AB3CB6
accent
#39EFDE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F8115

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

Preview Lab → · Contrast checker → · Palette generator →

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