#1F6038#1F6038

#1F6038 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.093 H 153.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1F6038
RGBrgb(31, 96, 56)
HSLhsl(143, 51%, 25%)
HSVhsv(143, 68%, 38%)
CMYKcmyk(67.7%, 0%, 41.7%, 62.4%)
CIE-LABlab(35.87, -30.65, 16.97)
CIE-LCHlch(35.87, 35.03, 151.02°)
OKLaboklab(43.67% -0.0829 0.0423)
OKLCHoklch(43.67% 0.093 153)
XYZxyz(5.4613, 8.9420, 5.1788)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6038 #601F47
analogous
#27601F #1F6038 #1F6059
triadic
#1F6038 #381F60 #60381F
tetradic
#1F6038 #1F2760 #601F47 #60591F
square
#1F6038 #1F2760 #601F47 #60591F
split-complementary
#1F6038 #591F60 #601F27
monochromatic
#07170D #10321D #1F6038 #2E8E53 #3DBD6E

Accessibility & contrast

On white

7.53
#1F6038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F6038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6038
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6038#FFFFFF#000000##FFFFFF
##1F60381.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605835
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#045F56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f6038;
/* rgb */ color: rgb(31, 96, 56);
/* oklch */ color: oklch(43.7% 0.093 153.0);
Tailwind
colors: {
  custom: {
    50: '#638e6f',
    500: '#1f6038',
    950: '#000000',
  },
}
SCSS
$custom: #1f6038;
$custom-light: #638e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6038",
  "rgb": {
    "r": 31,
    "g": 96,
    "b": 56
  },
  "hsl": {
    "h": 143.077,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.09305,
    "h": 153
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#1F6038
secondary
#954676
accent
#4DA4DB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #1F6038

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

Preview Lab → · Contrast checker → · Palette generator →

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