#1B702C#1B702C

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

Color values

HEX#1B702C
RGBrgb(27, 112, 44)
HSLhsl(132, 61%, 27%)
HSVhsv(132, 76%, 44%)
CMYKcmyk(75.9%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.22, -40.09, 30.30)
CIE-LCHlch(41.22, 50.25, 142.91°)
OKLaboklab(47.99% -0.1081 0.0718)
OKLCHoklch(47.99% 0.13 146.4)
XYZxyz(6.7003, 12.0024, 4.3460)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B702C #701B5F
analogous
#35701B #1B702C #1B7057
triadic
#1B702C #2C1B70 #702C1B
tetradic
#1B702C #1B3570 #701B5F #70571B
square
#1B702C #1B3570 #701B5F #70571B
split-complementary
#1B702C #571B70 #701B35
monochromatic
#06190A #0F3F19 #1B702C #27A13F #37CF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B702C#FFFFFF#000000##FFFFFF
##1B702C1.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)
#726525
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b702c;
/* rgb */ color: rgb(27, 112, 44);
/* oklch */ color: oklch(48.0% 0.130 146.4);
Tailwind
colors: {
  custom: {
    50: '#669a67',
    500: '#1b702c',
    950: '#000000',
  },
}
SCSS
$custom: #1b702c;
$custom-light: #669a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b702c",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 132,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47993,
    "c": 0.12976,
    "h": 146.4
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#1B702C
secondary
#A54291
accent
#44C4E4
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #1B702C

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

Preview Lab → · Contrast checker → · Palette generator →

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