#1F623E#1F623E

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

Color values

HEX#1F623E
RGBrgb(31, 98, 62)
HSLhsl(148, 52%, 25%)
HSVhsv(148, 68%, 38%)
CMYKcmyk(68.4%, 0%, 36.7%, 61.6%)
CIE-LABlab(36.69, -30.26, 14.49)
CIE-LCHlch(36.69, 33.55, 154.41°)
OKLaboklab(44.38% -0.0821 0.0365)
OKLCHoklch(44.38% 0.09 156.1)
XYZxyz(5.8017, 9.3739, 6.0601)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623E #621F43
analogous
#22621F #1F623E #1F625F
triadic
#1F623E #3E1F62 #623E1F
tetradic
#1F623E #1F2262 #621F43 #625F1F
square
#1F623E #1F2262 #621F43 #625F1F
split-complementary
#1F623E #5F1F62 #621F22
monochromatic
#07170F #103421 #1F623E #2E905B #3CBF79

Accessibility & contrast

On white

7.30
#1F623E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F623E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F623E#FFFFFF#000000##FFFFFF
##1F623E1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3C
Deuteranopia (green-blind)
#595440
Tritanopia (blue-blind)
#006159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f623e;
/* rgb */ color: rgb(31, 98, 62);
/* oklch */ color: oklch(44.4% 0.090 156.1);
Tailwind
colors: {
  custom: {
    50: '#638f73',
    500: '#1f623e',
    950: '#000000',
  },
}
SCSS
$custom: #1f623e;
$custom-light: #638f73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623e",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 62
  },
  "hsl": {
    "h": 147.761,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.08984,
    "h": 156.1
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#1F623E
secondary
#974671
accent
#4C99DB
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1F623E

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

Preview Lab → · Contrast checker → · Palette generator →

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