#1B7231#1B7231

#1B7231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.128 H 147.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#1B7231
RGBrgb(27, 114, 49)
HSLhsl(135, 62%, 28%)
HSVhsv(135, 76%, 45%)
CMYKcmyk(76.3%, 0%, 57%, 55.3%)
CIE-LABlab(41.98, -40.11, 28.61)
CIE-LCHlch(41.98, 49.27, 144.50°)
OKLaboklab(48.64% -0.108 0.0685)
OKLCHoklch(48.64% 0.128 147.6)
XYZxyz(7.0232, 12.4886, 4.9455)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7231 #721B5C
analogous
#31721B #1B7231 #1B725C
triadic
#1B7231 #311B72 #72311B
tetradic
#1B7231 #1B3172 #721B5C #725C1B
square
#1B7231 #1B3172 #721B5C #725C1B
split-complementary
#1B7231 #5C1B72 #721B31
monochromatic
#06190B #0F411C #1B7231 #27A346 #38D05E

Accessibility & contrast

On white

6.00
#1B7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1B7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7231
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7231#FFFFFF#000000##FFFFFF
##1B72311.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7231;
/* rgb */ color: rgb(27, 114, 49);
/* oklch */ color: oklch(48.6% 0.128 147.6);
Tailwind
colors: {
  custom: {
    50: '#669b6b',
    500: '#1b7231',
    950: '#000000',
  },
}
SCSS
$custom: #1b7231;
$custom-light: #669b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7231",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 135.172,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.12788,
    "h": 147.6
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#1B7231
secondary
#A7428D
accent
#43BCE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1B7231

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

Preview Lab → · Contrast checker → · Palette generator →

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