#1B8F28#1B8F28

#1B8F28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1B8F28
RGBrgb(27, 143, 40)
HSLhsl(127, 68%, 33%)
HSVhsv(127, 81%, 56%)
CMYKcmyk(81.1%, 0%, 72%, 43.9%)
CIE-LABlab(51.87, -51.45, 43.94)
CIE-LCHlch(51.87, 67.66, 139.50°)
OKLaboklab(56.82% -0.139 0.1004)
OKLCHoklch(56.82% 0.172 144.2)
XYZxyz(10.6567, 20.0298, 5.3116)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8F28 #8F1B82
analogous
#488F1B #1B8F28 #1B8F62
triadic
#1B8F28 #281B8F #8F281B
tetradic
#1B8F28 #1B488F #8F1B82 #8F621B
square
#1B8F28 #1B488F #8F1B82 #8F621B
split-complementary
#1B8F28 #621B8F #8F1B48
monochromatic
#08280B #115C1A #1B8F28 #25C236 #48DC59

Accessibility & contrast

On white

4.19
#1B8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1B8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8F28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8F28#FFFFFF#000000##000000
##1B8F281.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b8f28;
/* rgb */ color: rgb(27, 143, 40);
/* oklch */ color: oklch(56.8% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#6eb168',
    500: '#1b8f28',
    950: '#000000',
  },
}
SCSS
$custom: #1b8f28;
$custom-light: #6eb168;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8f28",
  "rgb": {
    "r": 27,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 126.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.17151,
    "h": 144.2
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#1B8F28
secondary
#BE48B1
accent
#3DD8EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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