#1F451B#1F451B

#1F451B is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.1% C 0.081 H 141.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1F451B
RGBrgb(31, 69, 27)
HSLhsl(114, 44%, 19%)
HSVhsv(114, 61%, 27%)
CMYKcmyk(55.1%, 0%, 60.9%, 72.9%)
CIE-LABlab(25.64, -23.42, 21.06)
CIE-LCHlch(25.64, 31.50, 138.03°)
OKLaboklab(35.11% -0.0639 0.0502)
OKLCHoklch(35.11% 0.081 141.8)
XYZxyz(2.8909, 4.6265, 1.7774)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F451B #411B45
analogous
#34451B #1F451B #1B452C
triadic
#1F451B #1B1F45 #451B1F
tetradic
#1F451B #1B3445 #411B45 #452C1B
square
#1F451B #1B3445 #411B45 #452C1B
split-complementary
#1F451B #2C1B45 #451B34
monochromatic
#0A1609 #0B190A #1F451B #33712C #479D3D

Accessibility & contrast

On white

10.91
#1F451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1F451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F451B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F451B#FFFFFF#000000##FFFFFF
##1F451B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#423B1E
Tritanopia (blue-blind)
#1B433C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f451b;
/* rgb */ color: rgb(31, 69, 27);
/* oklch */ color: oklch(35.1% 0.081 141.8);
Tailwind
colors: {
  custom: {
    50: '#5e7958',
    500: '#1f451b',
    950: '#000000',
  },
}
SCSS
$custom: #1f451b;
$custom-light: #5e7958;
$custom-dark: #000000;
JSON
{
  "hex": "#1f451b",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 114.286,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35107,
    "c": 0.08126,
    "h": 141.8
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#1F451B
secondary
#75417B
accent
#54D3C7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#050903
muted
#797B78

Preview Lab

Preview with #1F451B

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

Preview Lab → · Contrast checker → · Palette generator →

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