#1B7233#1B7233

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

Color values

HEX#1B7233
RGBrgb(27, 114, 51)
HSLhsl(137, 62%, 28%)
HSVhsv(137, 76%, 45%)
CMYKcmyk(76.3%, 0%, 55.3%, 55.3%)
CIE-LABlab(42.01, -39.80, 27.58)
CIE-LCHlch(42.01, 48.42, 145.28°)
OKLaboklab(48.68% -0.1071 0.0664)
OKLCHoklch(48.68% 0.126 148.2)
XYZxyz(7.0663, 12.5058, 5.1728)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7233 #721B5A
analogous
#2E721B #1B7233 #1B725F
triadic
#1B7233 #331B72 #72331B
tetradic
#1B7233 #1B2E72 #721B5A #725F1B
square
#1B7233 #1B2E72 #721B5A #725F1B
split-complementary
#1B7233 #5F1B72 #721B2E
monochromatic
#06190B #0F411D #1B7233 #27A349 #38D062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7233#FFFFFF#000000##FFFFFF
##1B72331.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)
#73672D
Deuteranopia (green-blind)
#696038
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7233;
/* rgb */ color: rgb(27, 114, 51);
/* oklch */ color: oklch(48.7% 0.126 148.2);
Tailwind
colors: {
  custom: {
    50: '#669b6c',
    500: '#1b7233',
    950: '#000000',
  },
}
SCSS
$custom: #1b7233;
$custom-light: #669b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7233",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 136.552,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.12599,
    "h": 148.2
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#1B7233
secondary
#A7428B
accent
#43B8E5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #1B7233

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

Preview Lab → · Contrast checker → · Palette generator →

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