#1F623B#1F623B

#1F623B is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.093 H 154.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#1F623B
RGBrgb(31, 98, 59)
HSLhsl(145, 52%, 25%)
HSVhsv(145, 68%, 38%)
CMYKcmyk(68.4%, 0%, 39.8%, 61.6%)
CIE-LABlab(36.63, -30.91, 16.20)
CIE-LCHlch(36.63, 34.90, 152.34°)
OKLaboklab(44.31% -0.0837 0.0405)
OKLCHoklch(44.31% 0.093 154.2)
XYZxyz(5.7217, 9.3418, 5.6384)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623B #621F46
analogous
#24621F #1F623B #1F625C
triadic
#1F623B #3B1F62 #623B1F
tetradic
#1F623B #1F2462 #621F46 #625C1F
square
#1F623B #1F2462 #621F46 #625C1F
split-complementary
#1F623B #5C1F62 #621F24
monochromatic
#07170E #10341F #1F623B #2E9057 #3CBF73

Accessibility & contrast

On white

7.32
#1F623B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1F623B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F623B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F623B#FFFFFF#000000##FFFFFF
##1F623B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A38
Deuteranopia (green-blind)
#59543E
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f623b;
/* rgb */ color: rgb(31, 98, 59);
/* oklch */ color: oklch(44.3% 0.093 154.2);
Tailwind
colors: {
  custom: {
    50: '#638f71',
    500: '#1f623b',
    950: '#000000',
  },
}
SCSS
$custom: #1f623b;
$custom-light: #638f71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623b",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 59
  },
  "hsl": {
    "h": 145.075,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.09297,
    "h": 154.2
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#1F623B
secondary
#974675
accent
#4CA0DB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #1F623B

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

Preview Lab → · Contrast checker → · Palette generator →

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