#1B751F#1B751F

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

Color values

HEX#1B751F
RGBrgb(27, 117, 31)
HSLhsl(123, 63%, 28%)
HSVhsv(123, 77%, 46%)
CMYKcmyk(76.9%, 0%, 73.5%, 54.1%)
CIE-LABlab(42.84, -43.46, 38.21)
CIE-LCHlch(42.84, 57.86, 138.68°)
OKLaboklab(49.3% -0.1178 0.0872)
OKLCHoklch(49.3% 0.147 143.5)
XYZxyz(7.0602, 13.0537, 3.4436)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B751F #751B71
analogous
#44751B #1B751F #1B754C
triadic
#1B751F #1F1B75 #751F1B
tetradic
#1B751F #1B4475 #751B71 #754C1B
square
#1B751F #1B4475 #751B71 #754C1B
split-complementary
#1B751F #4C1B75 #751B44
monochromatic
#061907 #104312 #1B751F #26A72C #39D140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B751F#FFFFFF#000000##FFFFFF
##1B751F1.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)
#776911
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b751f;
/* rgb */ color: rgb(27, 117, 31);
/* oklch */ color: oklch(49.3% 0.147 143.5);
Tailwind
colors: {
  custom: {
    50: '#689e60',
    500: '#1b751f',
    950: '#000000',
  },
}
SCSS
$custom: #1b751f;
$custom-light: #689e60;
$custom-dark: #000000;
JSON
{
  "hex": "#1b751f",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 122.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.14655,
    "h": 143.5
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#1B751F
secondary
#A942A5
accent
#42DEE6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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