#1F623D#1F623D

#1F623D is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.091 H 155.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#1F623D
RGBrgb(31, 98, 61)
HSLhsl(147, 52%, 25%)
HSVhsv(147, 68%, 38%)
CMYKcmyk(68.4%, 0%, 37.8%, 61.6%)
CIE-LABlab(36.67, -30.48, 15.06)
CIE-LCHlch(36.67, 34.00, 153.70°)
OKLaboklab(44.36% -0.0826 0.0378)
OKLCHoklch(44.36% 0.091 155.4)
XYZxyz(5.7746, 9.3630, 5.9169)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623D #621F44
analogous
#22621F #1F623D #1F625E
triadic
#1F623D #3D1F62 #623D1F
tetradic
#1F623D #1F2262 #621F44 #625E1F
square
#1F623D #1F2262 #621F44 #625E1F
split-complementary
#1F623D #5E1F62 #621F22
monochromatic
#07170E #103420 #1F623D #2E905A #3CBF77

Accessibility & contrast

On white

7.31
#1F623D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F623D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F623D#FFFFFF#000000##FFFFFF
##1F623D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f623d;
/* rgb */ color: rgb(31, 98, 61);
/* oklch */ color: oklch(44.4% 0.091 155.4);
Tailwind
colors: {
  custom: {
    50: '#638f72',
    500: '#1f623d',
    950: '#000000',
  },
}
SCSS
$custom: #1f623d;
$custom-light: #638f72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623d",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 61
  },
  "hsl": {
    "h": 146.866,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.09088,
    "h": 155.4
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#1F623D
secondary
#974673
accent
#4C9BDB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1F623D

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

Preview Lab → · Contrast checker → · Palette generator →

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