#1B701C#1B701C

#1B701C is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.142 H 143.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#1B701C
RGBrgb(27, 112, 28)
HSLhsl(121, 61%, 27%)
HSVhsv(121, 76%, 44%)
CMYKcmyk(75.9%, 0%, 75%, 56.1%)
CIE-LABlab(41.06, -41.96, 37.61)
CIE-LCHlch(41.06, 56.35, 138.14°)
OKLaboklab(47.81% -0.1139 0.0856)
OKLCHoklch(47.81% 0.142 143.1)
XYZxyz(6.4554, 11.9045, 3.0560)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B701C #701B6F
analogous
#45701B #1B701C #1B7047
triadic
#1B701C #1C1B70 #701C1B
tetradic
#1B701C #1B4570 #701B6F #70471B
square
#1B701C #1B4570 #701B6F #70471B
split-complementary
#1B701C #471B70 #701B45
monochromatic
#061906 #0F3F10 #1B701C #27A128 #37CF38

Accessibility & contrast

On white

6.21
#1B701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1B701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B701C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B701C#FFFFFF#000000##FFFFFF
##1B701C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650E
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b701c;
/* rgb */ color: rgb(27, 112, 28);
/* oklch */ color: oklch(47.8% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#669a5e',
    500: '#1b701c',
    950: '#000000',
  },
}
SCSS
$custom: #1b701c;
$custom-light: #669a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b701c",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 120.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.14244,
    "h": 143.1
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#1B701C
secondary
#A542A4
accent
#44E2E4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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