#1B804C#1B804C

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

Color values

HEX#1B804C
RGBrgb(27, 128, 76)
HSLhsl(149, 65%, 30%)
HSVhsv(149, 79%, 50%)
CMYKcmyk(78.9%, 0%, 40.6%, 49.8%)
CIE-LABlab(47.23, -40.69, 20.42)
CIE-LCHlch(47.23, 45.52, 153.35°)
OKLaboklab(53.12% -0.1097 0.0509)
OKLCHoklch(53.12% 0.121 155.1)
XYZxyz(9.4748, 16.1920, 9.4621)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B804C #801B4F
analogous
#1C801B #1B804C #1B807E
triadic
#1B804C #4C1B80 #804C1B
tetradic
#1B804C #1B1C80 #801B4F #807E1B
square
#1B804C #1B1C80 #801B4F #807E1B
split-complementary
#1B804C #7E1B80 #801B1C
monochromatic
#061B10 #104D2E #1B804C #26B36A #3FD688

Accessibility & contrast

On white

4.95
#1B804C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#1B804C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B804C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B804C#FFFFFF#000000##FFFFFF
##1B804C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807548
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b804c;
/* rgb */ color: rgb(27, 128, 76);
/* oklch */ color: oklch(53.1% 0.121 155.1);
Tailwind
colors: {
  custom: {
    50: '#69a67e',
    500: '#1b804c',
    950: '#000000',
  },
}
SCSS
$custom: #1b804c;
$custom-light: #69a67e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b804c",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 76
  },
  "hsl": {
    "h": 149.109,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.12095,
    "h": 155.1
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#1B804C
secondary
#B4437D
accent
#4096E8
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1B804C

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

Preview Lab → · Contrast checker → · Palette generator →

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