#1F8317

A color in the Green family

#1f8317 is a color in the Green family: RGB(31, 131, 23), HSL(116°, 70%, 30%), CMYK(76%, 0%, 82%, 49%). Closest named color: green. Contrast is 4.86:1 on white and 4.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1f8317
RGBrgb(31 131 23)
RGB (legacy)rgb(31, 131, 23)
RGB %rgb(12% 51% 9%)
HSLhsl(116 70% 30%)
HSV / HSBhsv(116, 82%, 51%)
HWBhwb(116 9% 49%)
CMYKcmyk(76%, 0%, 82%, 49%)
CIELAB (D50)lab(47.79 -44.33 44.96)
LCHlch(47.79 63.14 134.59)
OKLaboklab(0.5337 -0.1312 0.1024)
OKLCHoklch(0.5337 0.1664 142.05)
Decimal2065175

Properties

Color ToneGreen
Closest named colorgreen ΔE 1.7
Closest web-safe color#339900
Hue116°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)30%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)35% / 40%
Relative luminance (WCAG)0.1659
Red / Green / Blue31 / 131 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 73.2 / -28.5 · As background with white / black text: Lc -78.6 / 30.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #1f8317;
  --color-brand-oklch: oklch(53.37% 0.1664 142.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(31 131 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1f8317] text-[#1f8317] border-[#1f8317]">