#1F430F#1F430F

#1F430F is a dark, moderate green. Relative luminance 0.043; OKLCH L 34.3% C 0.089 H 137.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1F430F
RGBrgb(31, 67, 15)
HSLhsl(102, 63%, 16%)
HSVhsv(102, 78%, 26%)
CMYKcmyk(53.7%, 0%, 77.6%, 73.7%)
CIE-LABlab(24.76, -23.94, 26.41)
CIE-LCHlch(24.76, 35.64, 132.19°)
OKLaboklab(34.34% -0.0662 0.0602)
OKLCHoklch(34.34% 0.089 137.7)
XYZxyz(2.6584, 4.3399, 1.1495)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F430F #330F43
analogous
#39430F #1F430F #0F4319
triadic
#1F430F #0F1F43 #430F1F
tetradic
#1F430F #0F3943 #330F43 #43190F
square
#1F430F #0F3943 #330F43 #43190F
split-complementary
#1F430F #190F43 #430F39
monochromatic
#0C1906 #0C1906 #1F430F #36751A #4DA725

Accessibility & contrast

On white

11.24
#1F430F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F430F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F430F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F430F#FFFFFF#000000##FFFFFF
##1F430F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D07
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#1D4039
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f430f;
/* rgb */ color: rgb(31, 67, 15);
/* oklch */ color: oklch(34.3% 0.089 137.7);
Tailwind
colors: {
  custom: {
    50: '#5f7751',
    500: '#1f430f',
    950: '#000000',
  },
}
SCSS
$custom: #1f430f;
$custom-light: #5f7751;
$custom-dark: #000000;
JSON
{
  "hex": "#1f430f",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 15
  },
  "hsl": {
    "h": 101.538,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.08946,
    "h": 137.7
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#1F430F
secondary
#66307D
accent
#41E6B4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F430F

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

Preview Lab → · Contrast checker → · Palette generator →

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