#1F7323#1F7323

#1F7323 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.140 H 143.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F7323
RGBrgb(31, 115, 35)
HSLhsl(123, 58%, 29%)
HSVhsv(123, 73%, 45%)
CMYKcmyk(73%, 0%, 69.6%, 54.9%)
CIE-LABlab(42.27, -41.58, 35.87)
CIE-LCHlch(42.27, 54.92, 139.21°)
OKLaboklab(48.86% -0.1127 0.0828)
OKLCHoklch(48.86% 0.14 143.7)
XYZxyz(6.9987, 12.6734, 3.6671)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7323 #731F6F
analogous
#45731F #1F7323 #1F734D
triadic
#1F7323 #231F73 #73231F
tetradic
#1F7323 #1F4573 #731F6F #734D1F
square
#1F7323 #1F4573 #731F6F #734D1F
split-complementary
#1F7323 #4D1F73 #731F45
monochromatic
#061807 #124314 #1F7323 #2CA332 #41CC47

Accessibility & contrast

On white

5.94
#1F7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1F7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7323
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7323#FFFFFF#000000##FFFFFF
##1F73231.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756818
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#037063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7323;
/* rgb */ color: rgb(31, 115, 35);
/* oklch */ color: oklch(48.9% 0.140 143.7);
Tailwind
colors: {
  custom: {
    50: '#689c62',
    500: '#1f7323',
    950: '#000000',
  },
}
SCSS
$custom: #1f7323;
$custom-light: #689c62;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7323",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 122.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.13984,
    "h": 143.7
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#1F7323
secondary
#A747A2
accent
#47D9E1
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F7323

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

Preview Lab → · Contrast checker → · Palette generator →

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