#1F6541#1F6541

#1F6541 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.3% C 0.091 H 156.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1F6541
RGBrgb(31, 101, 65)
HSLhsl(149, 53%, 26%)
HSVhsv(149, 69%, 40%)
CMYKcmyk(69.3%, 0%, 35.6%, 60.4%)
CIE-LABlab(37.81, -30.95, 14.20)
CIE-LCHlch(37.81, 34.05, 155.35°)
OKLaboklab(45.32% -0.084 0.0358)
OKLCHoklch(45.32% 0.091 156.9)
XYZxyz(6.1723, 9.9797, 6.6010)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6541 #651F43
analogous
#20651F #1F6541 #1F6564
triadic
#1F6541 #411F65 #65411F
tetradic
#1F6541 #1F2065 #651F43 #65641F
square
#1F6541 #1F2065 #651F43 #65641F
split-complementary
#1F6541 #641F65 #651F20
monochromatic
#07170F #113623 #1F6541 #2D945F #3CC37D

Accessibility & contrast

On white

7.01
#1F6541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1F6541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6541
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6541#FFFFFF#000000##FFFFFF
##1F65411.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3F
Deuteranopia (green-blind)
#5B5643
Tritanopia (blue-blind)
#00645C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6541;
/* rgb */ color: rgb(31, 101, 65);
/* oklch */ color: oklch(45.3% 0.091 156.9);
Tailwind
colors: {
  custom: {
    50: '#649175',
    500: '#1f6541',
    950: '#000000',
  },
}
SCSS
$custom: #1f6541;
$custom-light: #649175;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6541",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 65
  },
  "hsl": {
    "h": 149.143,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.09135,
    "h": 156.9
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#1F6541
secondary
#994671
accent
#4B96DC
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F6541

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

Preview Lab → · Contrast checker → · Palette generator →

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