#1B701B#1B701B

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

Color values

HEX#1B701B
RGBrgb(27, 112, 27)
HSLhsl(120, 61%, 27%)
HSVhsv(120, 76%, 44%)
CMYKcmyk(75.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.06, -42.06, 38.01)
CIE-LCHlch(41.06, 56.69, 137.90°)
OKLaboklab(47.8% -0.1142 0.0863)
OKLCHoklch(47.8% 0.143 142.9)
XYZxyz(6.4436, 11.8998, 2.9940)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B701B #701B70
analogous
#46701B #1B701B #1B7046
triadic
#1B701B #1B1B70 #701B1B
tetradic
#1B701B #1B4670 #701B70 #70461B
square
#1B701B #1B4670 #701B70 #70461B
split-complementary
#1B701B #461B70 #701B46
monochromatic
#061906 #0F3F0F #1B701B #27A127 #37CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B701B#FFFFFF#000000##FFFFFF
##1B701B1.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)
#73650C
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b701b;
/* rgb */ color: rgb(27, 112, 27);
/* oklch */ color: oklch(47.8% 0.143 142.9);
Tailwind
colors: {
  custom: {
    50: '#679a5d',
    500: '#1b701b',
    950: '#000000',
  },
}
SCSS
$custom: #1b701b;
$custom-light: #679a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b701b",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.14309,
    "h": 142.9
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#1B701B
secondary
#A542A5
accent
#44E4E4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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