#1F623A#1F623A

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

Color values

HEX#1F623A
RGBrgb(31, 98, 58)
HSLhsl(144, 52%, 25%)
HSVhsv(144, 68%, 38%)
CMYKcmyk(68.4%, 0%, 40.8%, 61.6%)
CIE-LABlab(36.62, -31.12, 16.77)
CIE-LCHlch(36.62, 35.35, 151.68°)
OKLaboklab(44.29% -0.0842 0.0419)
OKLCHoklch(44.29% 0.094 153.6)
XYZxyz(5.6960, 9.3316, 5.5032)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623A #621F47
analogous
#25621F #1F623A #1F625B
triadic
#1F623A #3A1F62 #623A1F
tetradic
#1F623A #1F2562 #621F47 #625B1F
square
#1F623A #1F2562 #621F47 #625B1F
split-complementary
#1F623A #5B1F62 #621F25
monochromatic
#07170E #10341E #1F623A #2E9056 #3CBF71

Accessibility & contrast

On white

7.33
#1F623A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F623A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F623A#FFFFFF#000000##FFFFFF
##1F623A1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A37
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#016158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f623a;
/* rgb */ color: rgb(31, 98, 58);
/* oklch */ color: oklch(44.3% 0.094 153.6);
Tailwind
colors: {
  custom: {
    50: '#638f70',
    500: '#1f623a',
    950: '#000000',
  },
}
SCSS
$custom: #1f623a;
$custom-light: #638f70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623a",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 58
  },
  "hsl": {
    "h": 144.179,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.09402,
    "h": 153.6
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#1F623A
secondary
#974676
accent
#4CA2DB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #1F623A

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

Preview Lab → · Contrast checker → · Palette generator →

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