#1B804A#1B804A

#1B804A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.123 H 154.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1B804A
RGBrgb(27, 128, 74)
HSLhsl(148, 65%, 30%)
HSVhsv(148, 79%, 50%)
CMYKcmyk(78.9%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.19, -41.09, 21.50)
CIE-LCHlch(47.19, 46.38, 152.38°)
OKLaboklab(53.08% -0.1107 0.0534)
OKLCHoklch(53.08% 0.123 154.2)
XYZxyz(9.4063, 16.1646, 9.1016)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B804A #801B51
analogous
#1E801B #1B804A #1B807C
triadic
#1B804A #4A1B80 #804A1B
tetradic
#1B804A #1B1E80 #801B51 #807C1B
square
#1B804A #1B1E80 #801B51 #807C1B
split-complementary
#1B804A #7C1B80 #801B1E
monochromatic
#061B10 #104D2D #1B804A #26B367 #3FD685

Accessibility & contrast

On white

4.96
#1B804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1B804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B804A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B804A#FFFFFF#000000##FFFFFF
##1B804A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#746D4E
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b804a;
/* rgb */ color: rgb(27, 128, 74);
/* oklch */ color: oklch(53.1% 0.123 154.2);
Tailwind
colors: {
  custom: {
    50: '#69a67d',
    500: '#1b804a',
    950: '#000000',
  },
}
SCSS
$custom: #1b804a;
$custom-light: #69a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b804a",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 147.921,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.12291,
    "h": 154.2
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#1B804A
secondary
#B4437F
accent
#409AE8
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B804A

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

Preview Lab → · Contrast checker → · Palette generator →

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