#1B671B#1B671B

#1B671B is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.132 H 143.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#1B671B
RGBrgb(27, 103, 27)
HSLhsl(120, 58%, 25%)
HSVhsv(120, 74%, 40%)
CMYKcmyk(73.8%, 0%, 73.8%, 59.6%)
CIE-LABlab(37.86, -38.78, 34.70)
CIE-LCHlch(37.86, 52.04, 138.18°)
OKLaboklab(45.16% -0.1053 0.0793)
OKLCHoklch(45.16% 0.132 143)
XYZxyz(5.4997, 10.0120, 2.6794)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B671B #671B67
analogous
#41671B #1B671B #1B6741
triadic
#1B671B #1B1B67 #671B1B
tetradic
#1B671B #1B4167 #671B67 #67411B
square
#1B671B #1B4167 #671B67 #67411B
split-complementary
#1B671B #411B67 #671B41
monochromatic
#061806 #0E370E #1B671B #289728 #34C834

Accessibility & contrast

On white

6.99
#1B671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#1B671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B671B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B671B#FFFFFF#000000##FFFFFF
##1B671B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0F
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#056458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1b671b;
/* rgb */ color: rgb(27, 103, 27);
/* oklch */ color: oklch(45.2% 0.132 143.0);
Tailwind
colors: {
  custom: {
    50: '#64935c',
    500: '#1b671b',
    950: '#000000',
  },
}
SCSS
$custom: #1b671b;
$custom-light: #64935c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b671b",
  "rgb": {
    "r": 27,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.13184,
    "h": 143
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#1B671B
secondary
#9C429C
accent
#46E2E2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1B671B

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

Preview Lab → · Contrast checker → · Palette generator →

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