#1B7330#1B7330

#1B7330 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.130 H 147.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1B7330
RGBrgb(27, 115, 48)
HSLhsl(134, 62%, 28%)
HSVhsv(134, 77%, 45%)
CMYKcmyk(76.5%, 0%, 58.3%, 54.9%)
CIE-LABlab(42.32, -40.64, 29.54)
CIE-LCHlch(42.32, 50.24, 143.99°)
OKLaboklab(48.92% -0.1094 0.0705)
OKLCHoklch(48.92% 0.13 147.2)
XYZxyz(7.1157, 12.7071, 4.8734)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7330 #731B5E
analogous
#32731B #1B7330 #1B735C
triadic
#1B7330 #301B73 #73301B
tetradic
#1B7330 #1B3273 #731B5E #735C1B
square
#1B7330 #1B3273 #731B5E #735C1B
split-complementary
#1B7330 #5C1B73 #731B32
monochromatic
#06190A #0F411B #1B7330 #27A545 #38D05C

Accessibility & contrast

On white

5.93
#1B7330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1B7330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7330
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7330#FFFFFF#000000##FFFFFF
##1B73301.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7330;
/* rgb */ color: rgb(27, 115, 48);
/* oklch */ color: oklch(48.9% 0.130 147.2);
Tailwind
colors: {
  custom: {
    50: '#669c6a',
    500: '#1b7330',
    950: '#000000',
  },
}
SCSS
$custom: #1b7330;
$custom-light: #669c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7330",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 134.318,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.13017,
    "h": 147.2
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#1B7330
secondary
#A8428F
accent
#43BEE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1B7330

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

Preview Lab → · Contrast checker → · Palette generator →

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