#1F623C#1F623C

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

Color values

HEX#1F623C
RGBrgb(31, 98, 60)
HSLhsl(146, 52%, 25%)
HSVhsv(146, 68%, 38%)
CMYKcmyk(68.4%, 0%, 38.8%, 61.6%)
CIE-LABlab(36.65, -30.70, 15.63)
CIE-LCHlch(36.65, 34.45, 153.01°)
OKLaboklab(44.34% -0.0831 0.0392)
OKLCHoklch(44.34% 0.092 154.8)
XYZxyz(5.7479, 9.3523, 5.7764)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623C #621F45
analogous
#23621F #1F623C #1F625D
triadic
#1F623C #3C1F62 #623C1F
tetradic
#1F623C #1F2362 #621F45 #625D1F
square
#1F623C #1F2362 #621F45 #625D1F
split-complementary
#1F623C #5D1F62 #621F23
monochromatic
#07170E #103420 #1F623C #2E9058 #3CBF75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F623C#FFFFFF#000000##FFFFFF
##1F623C1.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)
#625A39
Deuteranopia (green-blind)
#59543E
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f623c;
/* rgb */ color: rgb(31, 98, 60);
/* oklch */ color: oklch(44.3% 0.092 154.8);
Tailwind
colors: {
  custom: {
    50: '#638f72',
    500: '#1f623c',
    950: '#000000',
  },
}
SCSS
$custom: #1f623c;
$custom-light: #638f72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623c",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 60
  },
  "hsl": {
    "h": 145.97,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.09192,
    "h": 154.8
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#1F623C
secondary
#974674
accent
#4C9EDB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1F623C

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

Preview Lab → · Contrast checker → · Palette generator →

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