#1B751A#1B751A

#1B751A is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.150 H 142.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1B751A
RGBrgb(27, 117, 26)
HSLhsl(119, 64%, 28%)
HSVhsv(119, 78%, 46%)
CMYKcmyk(76.9%, 0%, 77.8%, 54.1%)
CIE-LABlab(42.81, -43.90, 40.17)
CIE-LCHlch(42.81, 59.51, 137.54°)
OKLaboklab(49.26% -0.1192 0.0906)
OKLCHoklch(49.26% 0.15 142.8)
XYZxyz(6.9993, 13.0294, 3.1231)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B751A #741A75
analogous
#48751A #1B751A #1A7546
triadic
#1B751A #1A1B75 #751A1B
tetradic
#1B751A #1A4875 #741A75 #75461A
square
#1B751A #1A4875 #741A75 #75461A
split-complementary
#1B751A #461A75 #751A48
monochromatic
#061906 #0F430F #1B751A #27A725 #39D337

Accessibility & contrast

On white

5.82
#1B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B751A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B751A#FFFFFF#000000##FFFFFF
##1B751A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786907
Deuteranopia (green-blind)
#6E6224
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b751a;
/* rgb */ color: rgb(27, 117, 26);
/* oklch */ color: oklch(49.3% 0.150 142.8);
Tailwind
colors: {
  custom: {
    50: '#689e5d',
    500: '#1b751a',
    950: '#000000',
  },
}
SCSS
$custom: #1b751a;
$custom-light: #689e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b751a",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 119.341,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.14977,
    "h": 142.8
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#1B751A
secondary
#A941AA
accent
#41E7E5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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