#1F9723#1F9723

#1F9723 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.183 H 143.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F9723
RGBrgb(31, 151, 35)
HSLhsl(122, 66%, 36%)
HSVhsv(122, 79%, 59%)
CMYKcmyk(79.5%, 0%, 76.8%, 40.8%)
CIE-LABlab(54.60, -53.94, 48.64)
CIE-LCHlch(54.60, 72.63, 137.95°)
OKLaboklab(59.1% -0.1462 0.1096)
OKLCHoklch(59.1% 0.183 143.2)
XYZxyz(11.9343, 22.5445, 5.3123)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9723 #971F93
analogous
#57971F #1F9723 #1F975F
triadic
#1F9723 #231F97 #97231F
tetradic
#1F9723 #1F5797 #971F93 #975F1F
square
#1F9723 #1F5797 #971F93 #975F1F
split-complementary
#1F9723 #5F1F97 #971F57
monochromatic
#0A310B #156417 #1F9723 #29CA2F #54DC59

Accessibility & contrast

On white

3.81
#1F9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9723
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9723#FFFFFF#000000##000000
##1F97231.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9723;
/* rgb */ color: rgb(31, 151, 35);
/* oklch */ color: oklch(59.1% 0.183 143.2);
Tailwind
colors: {
  custom: {
    50: '#71b766',
    500: '#1f9723',
    950: '#000000',
  },
}
SCSS
$custom: #1f9723;
$custom-light: #71b766;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9723",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 122,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.18271,
    "h": 143.2
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#1F9723
secondary
#BF52BC
accent
#3FE3E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9723

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

Preview Lab → · Contrast checker → · Palette generator →

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