#1B7D33#1B7D33

#1B7D33 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.141 H 147.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1B7D33
RGBrgb(27, 125, 51)
HSLhsl(135, 64%, 30%)
HSVhsv(135, 78%, 49%)
CMYKcmyk(78.4%, 0%, 59.2%, 51%)
CIE-LABlab(45.82, -43.92, 32.16)
CIE-LCHlch(45.82, 54.44, 143.78°)
OKLaboklab(51.83% -0.1182 0.0765)
OKLCHoklch(51.83% 0.141 147.1)
XYZxyz(8.3825, 15.1383, 5.6115)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D33 #7D1B65
analogous
#347D1B #1B7D33 #1B7D64
triadic
#1B7D33 #331B7D #7D331B
tetradic
#1B7D33 #1B347D #7D1B65 #7D641B
square
#1B7D33 #1B347D #7D1B65 #7D641B
split-complementary
#1B7D33 #641B7D #7D1B34
monochromatic
#05190A #104B1E #1B7D33 #26AF48 #3DD562

Accessibility & contrast

On white

5.21
#1B7D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1B7D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D33
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D33#FFFFFF#000000##FFFFFF
##1B7D331.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712C
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d33;
/* rgb */ color: rgb(27, 125, 51);
/* oklch */ color: oklch(51.8% 0.141 147.1);
Tailwind
colors: {
  custom: {
    50: '#69a46d',
    500: '#1b7d33',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d33;
$custom-light: #69a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d33",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 134.694,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.14077,
    "h": 147.1
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#1B7D33
secondary
#B14396
accent
#40BFE7
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7D33

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

Preview Lab → · Contrast checker → · Palette generator →

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