#1F500C#1F500C

#1F500C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.110 H 138.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1F500C
RGBrgb(31, 80, 12)
HSLhsl(103, 74%, 18%)
HSVhsv(103, 85%, 31%)
CMYKcmyk(61.2%, 0%, 85%, 68.6%)
CIE-LABlab(29.55, -29.99, 32.45)
CIE-LCHlch(29.55, 44.19, 132.74°)
OKLaboklab(38.28% -0.0827 0.0724)
OKLCHoklch(38.28% 0.11 138.8)
XYZxyz(3.5000, 6.0549, 1.3320)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F500C #3D0C50
analogous
#41500C #1F500C #0C501B
triadic
#1F500C #0C1F50 #500C1F
tetradic
#1F500C #0C4150 #3D0C50 #501B0C
square
#1F500C #0C4150 #3D0C50 #501B0C
split-complementary
#1F500C #1B0C50 #500C41
monochromatic
#0A1B04 #0A1B04 #1F500C #348514 #48BA1C

Accessibility & contrast

On white

9.50
#1F500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1F500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F500C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F500C#FFFFFF#000000##FFFFFF
##1F500C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#1A4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f500c;
/* rgb */ color: rgb(31, 80, 12);
/* oklch */ color: oklch(38.3% 0.110 138.8);
Tailwind
colors: {
  custom: {
    50: '#618251',
    500: '#1f500c',
    950: '#000000',
  },
}
SCSS
$custom: #1f500c;
$custom-light: #618251;
$custom-dark: #000000;
JSON
{
  "hex": "#1f500c",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 103.235,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38276,
    "c": 0.1099,
    "h": 138.8
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#1F500C
secondary
#712C8B
accent
#37F1BD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #1F500C

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

Preview Lab → · Contrast checker → · Palette generator →

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