#1F9323#1F9323

#1F9323 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.178 H 143.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1F9323
RGBrgb(31, 147, 35)
HSLhsl(122, 65%, 35%)
HSVhsv(122, 79%, 58%)
CMYKcmyk(78.9%, 0%, 76.2%, 42.4%)
CIE-LABlab(53.25, -52.64, 47.30)
CIE-LCHlch(53.25, 70.77, 138.06°)
OKLaboklab(57.98% -0.1427 0.1068)
OKLCHoklch(57.98% 0.178 143.2)
XYZxyz(11.3014, 21.2788, 5.1014)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9323 #931F8F
analogous
#55931F #1F9323 #1F935D
triadic
#1F9323 #231F93 #93231F
tetradic
#1F9323 #1F5593 #931F8F #935D1F
square
#1F9323 #1F5593 #931F8F #935D1F
split-complementary
#1F9323 #5D1F93 #931F55
monochromatic
#0A2E0B #146017 #1F9323 #2AC62F #52DA57

Accessibility & contrast

On white

4.00
#1F9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#1F9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9323
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9323#FFFFFF#000000##000000
##1F93231.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850C
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9323;
/* rgb */ color: rgb(31, 147, 35);
/* oklch */ color: oklch(58.0% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#70b466',
    500: '#1f9323',
    950: '#000000',
  },
}
SCSS
$custom: #1f9323;
$custom-light: #70b466;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9323",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 122.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.1782,
    "h": 143.2
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#1F9323
secondary
#BE50BA
accent
#40E2E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9323

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

Preview Lab → · Contrast checker → · Palette generator →

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