#1B751B#1B751B

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

Color values

HEX#1B751B
RGBrgb(27, 117, 27)
HSLhsl(120, 63%, 28%)
HSVhsv(120, 77%, 46%)
CMYKcmyk(76.9%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.81, -43.82, 39.79)
CIE-LCHlch(42.81, 59.19, 137.76°)
OKLaboklab(49.26% -0.1189 0.09)
OKLCHoklch(49.26% 0.149 142.9)
XYZxyz(7.0107, 13.0339, 3.1830)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B751B #751B75
analogous
#48751B #1B751B #1B7548
triadic
#1B751B #1B1B75 #751B1B
tetradic
#1B751B #1B4875 #751B75 #75481B
square
#1B751B #1B4875 #751B75 #75481B
split-complementary
#1B751B #481B75 #751B48
monochromatic
#061906 #104310 #1B751B #26A726 #39D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b751b;
/* rgb */ color: rgb(27, 117, 27);
/* oklch */ color: oklch(49.3% 0.149 142.9);
Tailwind
colors: {
  custom: {
    50: '#689e5e',
    500: '#1b751b',
    950: '#000000',
  },
}
SCSS
$custom: #1b751b;
$custom-light: #689e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b751b",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.14916,
    "h": 142.9
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#1B751B
secondary
#A942A9
accent
#42E6E6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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