#1F5C0F#1F5C0F

#1F5C0F is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.124 H 140.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#1F5C0F
RGBrgb(31, 92, 15)
HSLhsl(108, 72%, 21%)
HSVhsv(108, 84%, 36%)
CMYKcmyk(66.3%, 0%, 83.7%, 63.9%)
CIE-LABlab(33.94, -34.67, 35.57)
CIE-LCHlch(33.94, 49.67, 134.26°)
OKLaboklab(41.91% -0.0951 0.0794)
OKLCHoklch(41.91% 0.124 140.2)
XYZxyz(4.4782, 7.9797, 1.7561)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C0F #4C0F5C
analogous
#455C0F #1F5C0F #0F5C25
triadic
#1F5C0F #0F1F5C #5C0F1F
tetradic
#1F5C0F #0F455C #4C0F5C #5C250F
square
#1F5C0F #0F455C #4C0F5C #5C250F
split-complementary
#1F5C0F #250F5C #5C0F45
monochromatic
#091A04 #0D2706 #1F5C0F #319118 #42C520

Accessibility & contrast

On white

8.09
#1F5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1F5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C0F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C0F#FFFFFF#000000##FFFFFF
##1F5C0F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#16594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5c0f;
/* rgb */ color: rgb(31, 92, 15);
/* oklch */ color: oklch(41.9% 0.124 140.2);
Tailwind
colors: {
  custom: {
    50: '#648b54',
    500: '#1f5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c0f;
$custom-light: #648b54;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c0f",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 107.532,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.12388,
    "h": 140.2
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#1F5C0F
secondary
#813195
accent
#39EFC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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