#1B7C25#1B7C25

#1B7C25 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.151 H 144.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1B7C25
RGBrgb(27, 124, 37)
HSLhsl(126, 64%, 30%)
HSVhsv(126, 78%, 49%)
CMYKcmyk(78.2%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.33, -45.31, 38.27)
CIE-LCHlch(45.33, 59.31, 139.81°)
OKLaboklab(51.38% -0.1225 0.0881)
OKLCHoklch(51.38% 0.151 144.3)
XYZxyz(7.9930, 14.7810, 4.1817)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C25 #7C1B72
analogous
#417C1B #1B7C25 #1B7C56
triadic
#1B7C25 #251B7C #7C251B
tetradic
#1B7C25 #1B417C #7C1B72 #7C561B
square
#1B7C25 #1B417C #7C1B72 #7C561B
split-complementary
#1B7C25 #561B7C #7C1B41
monochromatic
#051907 #104A16 #1B7C25 #26AE34 #3DD54C

Accessibility & contrast

On white

5.31
#1B7C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1B7C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C25
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C25#FFFFFF#000000##FFFFFF
##1B7C251.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7c25;
/* rgb */ color: rgb(27, 124, 37);
/* oklch */ color: oklch(51.4% 0.151 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a364',
    500: '#1b7c25',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c25;
$custom-light: #69a364;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c25",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 126.186,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.1509,
    "h": 144.3
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#1B7C25
secondary
#B043A5
accent
#41D6E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7C25

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

Preview Lab → · Contrast checker → · Palette generator →

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