#1B702A#1B702A

#1B702A is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.132 H 145.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#1B702A
RGBrgb(27, 112, 42)
HSLhsl(131, 61%, 27%)
HSVhsv(131, 76%, 44%)
CMYKcmyk(75.9%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.20, -40.37, 31.29)
CIE-LCHlch(41.20, 51.08, 142.22°)
OKLaboklab(47.97% -0.1089 0.0738)
OKLCHoklch(47.97% 0.132 145.9)
XYZxyz(6.6636, 11.9878, 4.1527)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B702A #701B61
analogous
#37701B #1B702A #1B7054
triadic
#1B702A #2A1B70 #702A1B
tetradic
#1B702A #1B3770 #701B61 #70541B
square
#1B702A #1B3770 #701B61 #70541B
split-complementary
#1B702A #541B70 #701B37
monochromatic
#061909 #0F3F18 #1B702A #27A13C #37CF52

Accessibility & contrast

On white

6.18
#1B702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#1B702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B702A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B702A#FFFFFF#000000##FFFFFF
##1B702A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b702a;
/* rgb */ color: rgb(27, 112, 42);
/* oklch */ color: oklch(48.0% 0.132 145.9);
Tailwind
colors: {
  custom: {
    50: '#669a66',
    500: '#1b702a',
    950: '#000000',
  },
}
SCSS
$custom: #1b702a;
$custom-light: #669a66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b702a",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 130.588,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.13154,
    "h": 145.9
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#1B702A
secondary
#A54293
accent
#44C8E4
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #1B702A

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

Preview Lab → · Contrast checker → · Palette generator →

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