#1F623F#1F623F

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

Color values

HEX#1F623F
RGBrgb(31, 98, 63)
HSLhsl(149, 52%, 25%)
HSVhsv(149, 68%, 38%)
CMYKcmyk(68.4%, 0%, 35.7%, 61.6%)
CIE-LABlab(36.72, -30.04, 13.92)
CIE-LCHlch(36.72, 33.11, 155.14°)
OKLaboklab(44.41% -0.0816 0.0351)
OKLCHoklch(44.41% 0.089 156.7)
XYZxyz(5.8294, 9.3849, 6.2059)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F623F #621F42
analogous
#20621F #1F623F #1F6260
triadic
#1F623F #3F1F62 #623F1F
tetradic
#1F623F #1F2062 #621F42 #62601F
square
#1F623F #1F2062 #621F42 #62601F
split-complementary
#1F623F #601F62 #621F20
monochromatic
#07170F #103421 #1F623F #2E905D #3CBF7B

Accessibility & contrast

On white

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

On black

2.88
#1F623F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F623F#FFFFFF#000000##FFFFFF
##1F623F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f623f;
/* rgb */ color: rgb(31, 98, 63);
/* oklch */ color: oklch(44.4% 0.089 156.7);
Tailwind
colors: {
  custom: {
    50: '#638f74',
    500: '#1f623f',
    950: '#000000',
  },
}
SCSS
$custom: #1f623f;
$custom-light: #638f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f623f",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 63
  },
  "hsl": {
    "h": 148.657,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.08882,
    "h": 156.7
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#1F623F
secondary
#974670
accent
#4C97DB
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1F623F

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

Preview Lab → · Contrast checker → · Palette generator →

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