#1B7336#1B7336

#1B7336 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.124 H 149.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1B7336
RGBrgb(27, 115, 54)
HSLhsl(138, 62%, 28%)
HSVhsv(138, 77%, 45%)
CMYKcmyk(76.5%, 0%, 53%, 54.9%)
CIE-LABlab(42.40, -39.69, 26.44)
CIE-LCHlch(42.40, 47.69, 146.33°)
OKLaboklab(49.01% -0.1068 0.064)
OKLCHoklch(49.01% 0.124 149.1)
XYZxyz(7.2480, 12.7600, 5.5703)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7336 #731B58
analogous
#2C731B #1B7336 #1B7362
triadic
#1B7336 #361B73 #73361B
tetradic
#1B7336 #1B2C73 #731B58 #73621B
square
#1B7336 #1B2C73 #731B58 #73621B
split-complementary
#1B7336 #621B73 #731B2C
monochromatic
#06190C #0F411F #1B7336 #27A54D #38D067

Accessibility & contrast

On white

5.91
#1B7336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1B7336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7336
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7336#FFFFFF#000000##FFFFFF
##1B73361.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746831
Deuteranopia (green-blind)
#6A613A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7336;
/* rgb */ color: rgb(27, 115, 54);
/* oklch */ color: oklch(49.0% 0.124 149.1);
Tailwind
colors: {
  custom: {
    50: '#669c6e',
    500: '#1b7336',
    950: '#000000',
  },
}
SCSS
$custom: #1b7336;
$custom-light: #669c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7336",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 138.409,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.12449,
    "h": 149.1
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#1B7336
secondary
#A84288
accent
#43B3E5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1B7336

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

Preview Lab → · Contrast checker → · Palette generator →

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