#1B701A#1B701A

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

Color values

HEX#1B701A
RGBrgb(27, 112, 26)
HSLhsl(119, 62%, 27%)
HSVhsv(119, 77%, 44%)
CMYKcmyk(75.9%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.05, -42.15, 38.40)
CIE-LCHlch(41.05, 57.02, 137.66°)
OKLaboklab(47.8% -0.1145 0.0869)
OKLCHoklch(47.8% 0.144 142.8)
XYZxyz(6.4322, 11.8952, 2.9341)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B701A #6F1A70
analogous
#46701A #1B701A #1A7044
triadic
#1B701A #1A1B70 #701A1B
tetradic
#1B701A #1A4670 #6F1A70 #70441A
square
#1B701A #1A4670 #6F1A70 #70441A
split-complementary
#1B701A #441A70 #701A46
monochromatic
#061906 #0F3E0E #1B701A #27A226 #36D034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B701A#FFFFFF#000000##FFFFFF
##1B701A1.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)
#73650A
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b701a;
/* rgb */ color: rgb(27, 112, 26);
/* oklch */ color: oklch(47.8% 0.144 142.8);
Tailwind
colors: {
  custom: {
    50: '#679a5d',
    500: '#1b701a',
    950: '#000000',
  },
}
SCSS
$custom: #1b701a;
$custom-light: #679a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b701a",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 119.302,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.14373,
    "h": 142.8
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#1B701A
secondary
#A441A5
accent
#42E5E3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B701A

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

Preview Lab → · Contrast checker → · Palette generator →

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