#1B702F#1B702F

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

Color values

HEX#1B702F
RGBrgb(27, 112, 47)
HSLhsl(134, 61%, 27%)
HSVhsv(134, 76%, 44%)
CMYKcmyk(75.9%, 0%, 58%, 56.1%)
CIE-LABlab(41.26, -39.65, 28.79)
CIE-LCHlch(41.26, 49.00, 144.01°)
OKLaboklab(48.04% -0.1068 0.0688)
OKLCHoklch(48.04% 0.127 147.2)
XYZxyz(6.7588, 12.0258, 4.6538)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B702F #701B5C
analogous
#31701B #1B702F #1B705A
triadic
#1B702F #2F1B70 #702F1B
tetradic
#1B702F #1B3170 #701B5C #705A1B
square
#1B702F #1B3170 #701B5C #705A1B
split-complementary
#1B702F #5A1B70 #701B31
monochromatic
#06190A #0F3F1A #1B702F #27A144 #37CF5A

Accessibility & contrast

On white

6.17
#1B702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#1B702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B702F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B702F#FFFFFF#000000##FFFFFF
##1B702F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#675F34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b702f;
/* rgb */ color: rgb(27, 112, 47);
/* oklch */ color: oklch(48.0% 0.127 147.2);
Tailwind
colors: {
  custom: {
    50: '#659a69',
    500: '#1b702f',
    950: '#000000',
  },
}
SCSS
$custom: #1b702f;
$custom-light: #659a69;
$custom-dark: #000000;
JSON
{
  "hex": "#1b702f",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 134.118,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.12702,
    "h": 147.2
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#1B702F
secondary
#A5428E
accent
#44BEE4
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #1B702F

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

Preview Lab → · Contrast checker → · Palette generator →

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