#1F490F#1F490F

#1F490F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.098 H 138.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1F490F
RGBrgb(31, 73, 15)
HSLhsl(103, 66%, 17%)
HSVhsv(103, 79%, 29%)
CMYKcmyk(57.5%, 0%, 79.5%, 71.4%)
CIE-LABlab(26.99, -26.70, 28.71)
CIE-LCHlch(26.99, 39.21, 132.93°)
OKLaboklab(36.17% -0.0736 0.065)
OKLCHoklch(36.17% 0.098 138.6)
XYZxyz(3.0337, 5.0907, 1.2746)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F490F #390F49
analogous
#3C490F #1F490F #0F491C
triadic
#1F490F #0F1F49 #490F1F
tetradic
#1F490F #0F3C49 #390F49 #491C0F
square
#1F490F #0F3C49 #390F49 #491C0F
split-complementary
#1F490F #1C0F49 #490F3C
monochromatic
#0B1905 #0B1905 #1F490F #357C19 #4AAF24

Accessibility & contrast

On white

10.41
#1F490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1F490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F490F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F490F#FFFFFF#000000##FFFFFF
##1F490F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#1B463E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f490f;
/* rgb */ color: rgb(31, 73, 15);
/* oklch */ color: oklch(36.2% 0.098 138.6);
Tailwind
colors: {
  custom: {
    50: '#607c51',
    500: '#1f490f',
    950: '#000000',
  },
}
SCSS
$custom: #1f490f;
$custom-light: #607c51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f490f",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 103.448,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.09825,
    "h": 138.6
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#1F490F
secondary
#6C3083
accent
#3FE9BA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F490F

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

Preview Lab → · Contrast checker → · Palette generator →

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