#1F5E10#1F5E10

#1F5E10 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.5% C 0.126 H 140.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1F5E10
RGBrgb(31, 94, 16)
HSLhsl(108, 71%, 22%)
HSVhsv(108, 83%, 37%)
CMYKcmyk(67%, 0%, 83%, 63.1%)
CIE-LABlab(34.67, -35.38, 35.92)
CIE-LCHlch(34.67, 50.42, 134.57°)
OKLaboklab(42.52% -0.097 0.0802)
OKLCHoklch(42.52% 0.126 140.4)
XYZxyz(4.6611, 8.3337, 1.8530)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E10 #4F105E
analogous
#465E10 #1F5E10 #105E28
triadic
#1F5E10 #101F5E #5E101F
tetradic
#1F5E10 #10465E #4F105E #5E2810
square
#1F5E10 #10465E #4F105E #5E2810
split-complementary
#1F5E10 #28105E #5E1046
monochromatic
#091A04 #0E2A07 #1F5E10 #309219 #41C722

Accessibility & contrast

On white

7.87
#1F5E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F5E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E10
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E10#FFFFFF#000000##FFFFFF
##1F5E101.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#155B4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5e10;
/* rgb */ color: rgb(31, 94, 16);
/* oklch */ color: oklch(42.5% 0.126 140.4);
Tailwind
colors: {
  custom: {
    50: '#648c55',
    500: '#1f5e10',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e10;
$custom-light: #648c55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e10",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 108.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.12587,
    "h": 140.4
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#1F5E10
secondary
#843397
accent
#3AEECB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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