#31900A

A color in the Green family

#31900a is a color in the Green family: RGB(49, 144, 10), HSL(103°, 87%, 30%), CMYK(66%, 0%, 93%, 44%). Closest named color: forestgreen. Contrast is 4.1:1 on white and 5.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#31900a
RGBrgb(49 144 10)
RGB (legacy)rgb(49, 144, 10)
RGB %rgb(19% 56% 4%)
HSLhsl(103 87% 30%)
HSV / HSBhsv(103, 93%, 56%)
HWBhwb(103 4% 44%)
CMYKcmyk(66%, 0%, 93%, 44%)
CIELAB (D50)lab(52.61 -45.26 52.29)
LCHlch(52.61 69.16 130.88)
OKLaboklab(0.5746 -0.1365 0.1163)
OKLCHoklch(0.5746 0.1793 139.56)
Decimal3248138

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 2.2
Closest web-safe color#339900
Hue103°
Saturation (HSL / HSV)87% / 93%
Lightness (HSL)30%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)39% / 45%
Relative luminance (WCAG)0.2062
Red / Green / Blue49 / 144 / 10

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 67.7 / -34 · As background with white / black text: Lc -73.2 / 36.4

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: #31900a;
  --color-brand-oklch: oklch(57.46% 0.1793 139.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(49 144 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#31900a] text-[#31900a] border-[#31900a]">