#1B641F#1B641F

#1B641F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.125 H 143.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1B641F
RGBrgb(27, 100, 31)
HSLhsl(123, 57%, 25%)
HSVhsv(123, 73%, 39%)
CMYKcmyk(73%, 0%, 69%, 60.8%)
CIE-LABlab(36.83, -37.22, 31.75)
CIE-LCHlch(36.83, 48.92, 139.53°)
OKLaboklab(44.31% -0.1008 0.0736)
OKLCHoklch(44.31% 0.125 143.9)
XYZxyz(5.2562, 9.4457, 2.8423)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B641F #641B60
analogous
#3B641B #1B641F #1B6444
triadic
#1B641F #1F1B64 #641F1B
tetradic
#1B641F #1B3B64 #641B60 #64441B
square
#1B641F #1B3B64 #641B60 #64441B
split-complementary
#1B641F #441B64 #641B3B
monochromatic
#071807 #0E3410 #1B641F #28942E #35C43D

Accessibility & contrast

On white

7.27
#1B641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1B641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B641F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B641F#FFFFFF#000000##FFFFFF
##1B641F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#056156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b641f;
/* rgb */ color: rgb(27, 100, 31);
/* oklch */ color: oklch(44.3% 0.125 143.9);
Tailwind
colors: {
  custom: {
    50: '#63915e',
    500: '#1b641f',
    950: '#000000',
  },
}
SCSS
$custom: #1b641f;
$custom-light: #63915e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b641f",
  "rgb": {
    "r": 27,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 123.288,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.12487,
    "h": 143.9
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#1B641F
secondary
#994195
accent
#47D8E1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B641F

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

Preview Lab → · Contrast checker → · Palette generator →

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