#1F8114#1F8114

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

Color values

HEX#1F8114
RGBrgb(31, 129, 20)
HSLhsl(114, 73%, 29%)
HSVhsv(114, 84%, 51%)
CMYKcmyk(76%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.03, -47.72, 46.26)
CIE-LCHlch(47.03, 66.47, 135.89°)
OKLaboklab(52.78% -0.1301 0.1025)
OKLCHoklch(52.78% 0.166 141.8)
XYZxyz(8.5411, 16.0414, 3.3078)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8114 #761481
analogous
#568114 #1F8114 #148140
triadic
#1F8114 #141F81 #81141F
tetradic
#1F8114 #145681 #761481 #814014
square
#1F8114 #145681 #761481 #814014
split-complementary
#1F8114 #401481 #811456
monochromatic
#061A04 #124C0C #1F8114 #2CB61C #42DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8114#FFFFFF#000000##FFFFFF
##1F81141.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)
#796D22
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8114;
/* rgb */ color: rgb(31, 129, 20);
/* oklch */ color: oklch(52.8% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da75d',
    500: '#1f8114',
    950: '#000000',
  },
}
SCSS
$custom: #1f8114;
$custom-light: #6da75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8114",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 113.945,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.16556,
    "h": 141.8
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#1F8114
secondary
#AA3BB6
accent
#38F0DD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F8114

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

Preview Lab → · Contrast checker → · Palette generator →

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