#1B751C#1B751C

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

Color values

HEX#1B751C
RGBrgb(27, 117, 28)
HSLhsl(121, 63%, 28%)
HSVhsv(121, 77%, 46%)
CMYKcmyk(76.9%, 0%, 76.1%, 54.1%)
CIE-LABlab(42.82, -43.73, 39.41)
CIE-LCHlch(42.82, 58.87, 137.98°)
OKLaboklab(49.27% -0.1187 0.0893)
OKLCHoklch(49.27% 0.149 143)
XYZxyz(7.0224, 13.0386, 3.2450)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B751C #751B74
analogous
#47751B #1B751C #1B7549
triadic
#1B751C #1C1B75 #751C1B
tetradic
#1B751C #1B4775 #751B74 #75491B
square
#1B751C #1B4775 #751B74 #75491B
split-complementary
#1B751C #491B75 #751B47
monochromatic
#061906 #104310 #1B751C #26A728 #39D13B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B751C#FFFFFF#000000##FFFFFF
##1B751C1.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)
#78690C
Deuteranopia (green-blind)
#6E6225
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b751c;
/* rgb */ color: rgb(27, 117, 28);
/* oklch */ color: oklch(49.3% 0.149 143.0);
Tailwind
colors: {
  custom: {
    50: '#689e5e',
    500: '#1b751c',
    950: '#000000',
  },
}
SCSS
$custom: #1b751c;
$custom-light: #689e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b751c",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 120.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.14853,
    "h": 143
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#1B751C
secondary
#A942A8
accent
#42E4E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B751C

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

Preview Lab → · Contrast checker → · Palette generator →

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