#1F6E23#1F6E23

#1F6E23 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.133 H 143.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#1F6E23
RGBrgb(31, 110, 35)
HSLhsl(123, 56%, 28%)
HSVhsv(123, 72%, 43%)
CMYKcmyk(71.8%, 0%, 68.2%, 56.9%)
CIE-LABlab(40.51, -39.72, 33.95)
CIE-LCHlch(40.51, 52.25, 139.47°)
OKLaboklab(47.4% -0.1076 0.0788)
OKLCHoklch(47.4% 0.133 143.8)
XYZxyz(6.4440, 11.5638, 3.4822)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E23 #6E1F6A
analogous
#426E1F #1F6E23 #1F6E4A
triadic
#1F6E23 #231F6E #6E231F
tetradic
#1F6E23 #1F426E #6E1F6A #6E4A1F
square
#1F6E23 #1F426E #6E1F6A #6E4A1F
split-complementary
#1F6E23 #4A1F6E #6E1F42
monochromatic
#071808 #123E14 #1F6E23 #2C9E32 #3FC946

Accessibility & contrast

On white

6.34
#1F6E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F6E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E23
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E23#FFFFFF#000000##FFFFFF
##1F6E231.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631A
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#076B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6e23;
/* rgb */ color: rgb(31, 110, 35);
/* oklch */ color: oklch(47.4% 0.133 143.8);
Tailwind
colors: {
  custom: {
    50: '#679861',
    500: '#1f6e23',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e23;
$custom-light: #679861;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e23",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 123.038,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.13336,
    "h": 143.8
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#1F6E23
secondary
#A2479D
accent
#48D8DF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F6E23

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

Preview Lab → · Contrast checker → · Palette generator →

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