#1F430E#1F430E

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

Color values

HEX#1F430E
RGBrgb(31, 67, 14)
HSLhsl(101, 65%, 16%)
HSVhsv(101, 79%, 26%)
CMYKcmyk(53.7%, 0%, 79.1%, 73.7%)
CIE-LABlab(24.76, -24.03, 26.87)
CIE-LCHlch(24.76, 36.05, 131.81°)
OKLaboklab(34.33% -0.0665 0.061)
OKLCHoklch(34.33% 0.09 137.5)
XYZxyz(2.6514, 4.3371, 1.1128)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F430E #320E43
analogous
#39430E #1F430E #0E4317
triadic
#1F430E #0E1F43 #430E1F
tetradic
#1F430E #0E3943 #320E43 #43170E
square
#1F430E #0E3943 #320E43 #43170E
split-complementary
#1F430E #170E43 #430E39
monochromatic
#0C1905 #0C1905 #1F430E #367619 #4EA823

Accessibility & contrast

On white

11.25
#1F430E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F430E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F430E#FFFFFF#000000##FFFFFF
##1F430E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D06
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#1D4038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f430e;
/* rgb */ color: rgb(31, 67, 14);
/* oklch */ color: oklch(34.3% 0.090 137.5);
Tailwind
colors: {
  custom: {
    50: '#5f7750',
    500: '#1f430e',
    950: '#000000',
  },
}
SCSS
$custom: #1f430e;
$custom-light: #5f7750;
$custom-dark: #000000;
JSON
{
  "hex": "#1f430e",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 14
  },
  "hsl": {
    "h": 100.755,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34332,
    "c": 0.09025,
    "h": 137.5
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#1F430E
secondary
#652F7E
accent
#3FE8B2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F430E

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

Preview Lab → · Contrast checker → · Palette generator →

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