#1B8530#1B8530

#1B8530 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.154 H 145.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1B8530
RGBrgb(27, 133, 48)
HSLhsl(132, 66%, 31%)
HSVhsv(132, 80%, 52%)
CMYKcmyk(79.7%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.54, -47.18, 36.78)
CIE-LCHlch(48.54, 59.82, 142.06°)
OKLaboklab(54.07% -0.1271 0.0862)
OKLCHoklch(54.07% 0.154 145.9)
XYZxyz(9.3723, 17.2204, 5.6256)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8530 #851B70
analogous
#3B851B #1B8530 #1B8565
triadic
#1B8530 #301B85 #85301B
tetradic
#1B8530 #1B3B85 #851B70 #85651B
square
#1B8530 #1B3B85 #851B70 #85651B
split-complementary
#1B8530 #651B85 #851B3B
monochromatic
#061F0B #11521E #1B8530 #25B842 #42D960

Accessibility & contrast

On white

4.73
#1B8530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1B8530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8530
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8530#FFFFFF#000000##FFFFFF
##1B85301.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8530;
/* rgb */ color: rgb(27, 133, 48);
/* oklch */ color: oklch(54.1% 0.154 145.9);
Tailwind
colors: {
  custom: {
    50: '#6baa6c',
    500: '#1b8530',
    950: '#000000',
  },
}
SCSS
$custom: #1b8530;
$custom-light: #6baa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8530",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 131.887,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.15357,
    "h": 145.9
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#1B8530
secondary
#B844A1
accent
#3FC7E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B8530

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

Preview Lab → · Contrast checker → · Palette generator →

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