#1B7239#1B7239

#1B7239 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.120 H 150.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1B7239
RGBrgb(27, 114, 57)
HSLhsl(141, 62%, 28%)
HSVhsv(141, 76%, 45%)
CMYKcmyk(76.3%, 0%, 50%, 55.3%)
CIE-LABlab(42.10, -38.78, 24.42)
CIE-LCHlch(42.10, 45.83, 147.80°)
OKLaboklab(48.78% -0.1043 0.0596)
OKLCHoklch(48.78% 0.12 150.3)
XYZxyz(7.2072, 12.5622, 5.9150)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7239 #721B54
analogous
#28721B #1B7239 #1B7265
triadic
#1B7239 #391B72 #72391B
tetradic
#1B7239 #1B2872 #721B54 #72651B
square
#1B7239 #1B2872 #721B54 #72651B
split-complementary
#1B7239 #651B72 #721B28
monochromatic
#06190C #0F4120 #1B7239 #27A352 #38D06C

Accessibility & contrast

On white

5.98
#1B7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1B7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7239
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7239#FFFFFF#000000##FFFFFF
##1B72391.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7239;
/* rgb */ color: rgb(27, 114, 57);
/* oklch */ color: oklch(48.8% 0.120 150.3);
Tailwind
colors: {
  custom: {
    50: '#669b70',
    500: '#1b7239',
    950: '#000000',
  },
}
SCSS
$custom: #1b7239;
$custom-light: #669b70;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7239",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 140.69,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.12015,
    "h": 150.3
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#1B7239
secondary
#A74284
accent
#43ADE5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #1B7239

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

Preview Lab → · Contrast checker → · Palette generator →

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