#1F5E2E#1F5E2E

#1F5E2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.101 H 148.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1F5E2E
RGBrgb(31, 94, 46)
HSLhsl(134, 50%, 25%)
HSVhsv(134, 67%, 37%)
CMYKcmyk(67%, 0%, 51.1%, 63.1%)
CIE-LABlab(34.99, -31.68, 21.67)
CIE-LCHlch(34.99, 38.38, 145.63°)
OKLaboklab(42.88% -0.0856 0.0528)
OKLCHoklch(42.88% 0.101 148.3)
XYZxyz(5.0606, 8.4935, 3.9570)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E2E #5E1F4F
analogous
#305E1F #1F5E2E #1F5E4E
triadic
#1F5E2E #2E1F5E #5E2E1F
tetradic
#1F5E2E #1F305E #5E1F4F #5E4E1F
square
#1F5E2E #1F305E #5E1F4F #5E4E1F
split-complementary
#1F5E2E #4E1F5E #5E1F30
monochromatic
#08170B #103017 #1F5E2E #2E8C45 #3DBA5B

Accessibility & contrast

On white

7.78
#1F5E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E2E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E2E#FFFFFF#000000##FFFFFF
##1F5E2E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#0C5C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5e2e;
/* rgb */ color: rgb(31, 94, 46);
/* oklch */ color: oklch(42.9% 0.101 148.3);
Tailwind
colors: {
  custom: {
    50: '#638c67',
    500: '#1f5e2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e2e;
$custom-light: #638c67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e2e",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 134.286,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.10055,
    "h": 148.3
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#1F5E2E
secondary
#934680
accent
#4EB9DA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #1F5E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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