#1B8A25#1B8A25

#1B8A25 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.168 H 143.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1B8A25
RGBrgb(27, 138, 37)
HSLhsl(125, 67%, 32%)
HSVhsv(125, 80%, 54%)
CMYKcmyk(80.4%, 0%, 73.2%, 45.9%)
CIE-LABlab(50.15, -50.07, 43.35)
CIE-LCHlch(50.15, 66.23, 139.11°)
OKLaboklab(55.38% -0.1354 0.0988)
OKLCHoklch(55.38% 0.168 143.9)
XYZxyz(9.8737, 18.5424, 4.8086)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A25 #8A1B80
analogous
#498A1B #1B8A25 #1B8A5C
triadic
#1B8A25 #251B8A #8A251B
tetradic
#1B8A25 #1B498A #8A1B80 #8A5C1B
square
#1B8A25 #1B498A #8A1B80 #8A5C1B
split-complementary
#1B8A25 #5C1B8A #8A1B49
monochromatic
#07240A #115717 #1B8A25 #25BD33 #45DB52

Accessibility & contrast

On white

4.46
#1B8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1B8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A25
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A25#FFFFFF#000000##000000
##1B8A251.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C14
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a25;
/* rgb */ color: rgb(27, 138, 37);
/* oklch */ color: oklch(55.4% 0.168 143.9);
Tailwind
colors: {
  custom: {
    50: '#6dad66',
    500: '#1b8a25',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a25;
$custom-light: #6dad66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a25",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 125.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.16765,
    "h": 143.9
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#1B8A25
secondary
#BC45B1
accent
#3EDBEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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