#1F5E2B#1F5E2B

#1F5E2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.104 H 147.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1F5E2B
RGBrgb(31, 94, 43)
HSLhsl(131, 50%, 25%)
HSVhsv(131, 67%, 37%)
CMYKcmyk(67%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.94, -32.20, 23.31)
CIE-LCHlch(34.94, 39.75, 144.10°)
OKLaboklab(42.83% -0.087 0.0564)
OKLCHoklch(42.83% 0.104 147.1)
XYZxyz(5.0035, 8.4706, 3.6563)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E2B #5E1F52
analogous
#325E1F #1F5E2B #1F5E4B
triadic
#1F5E2B #2B1F5E #5E2B1F
tetradic
#1F5E2B #1F325E #5E1F52 #5E4B1F
square
#1F5E2B #1F325E #5E1F52 #5E4B1F
split-complementary
#1F5E2B #4B1F5E #5E1F32
monochromatic
#08170B #103016 #1F5E2B #2E8C40 #3DBA55

Accessibility & contrast

On white

7.79
#1F5E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F5E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E2B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E2B#FFFFFF#000000##FFFFFF
##1F5E2B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#0E5C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5e2b;
/* rgb */ color: rgb(31, 94, 43);
/* oklch */ color: oklch(42.8% 0.104 147.1);
Tailwind
colors: {
  custom: {
    50: '#638c65',
    500: '#1f5e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e2b;
$custom-light: #638c65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e2b",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 131.429,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.10364,
    "h": 147.1
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#1F5E2B
secondary
#934684
accent
#4EBFDA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #1F5E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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