#1B834C#1B834C

#1B834C is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.125 H 154.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1B834C
RGBrgb(27, 131, 76)
HSLhsl(148, 66%, 31%)
HSVhsv(148, 79%, 51%)
CMYKcmyk(79.4%, 0%, 42%, 48.6%)
CIE-LABlab(48.24, -41.88, 21.76)
CIE-LCHlch(48.24, 47.20, 152.54°)
OKLaboklab(53.96% -0.1128 0.0541)
OKLCHoklch(53.96% 0.125 154.4)
XYZxyz(9.8719, 16.9862, 9.5945)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B834C #831B52
analogous
#1E831B #1B834C #1B8380
triadic
#1B834C #4C1B83 #834C1B
tetradic
#1B834C #1B1E83 #831B52 #83801B
square
#1B834C #1B1E83 #831B52 #83801B
split-complementary
#1B834C #801B83 #831B1E
monochromatic
#061E11 #11502F #1B834C #25B669 #41D888

Accessibility & contrast

On white

4.78
#1B834C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#1B834C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B834C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B834C#FFFFFF#000000##FFFFFF
##1B834C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837848
Deuteranopia (green-blind)
#776F50
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b834c;
/* rgb */ color: rgb(27, 131, 76);
/* oklch */ color: oklch(54.0% 0.125 154.4);
Tailwind
colors: {
  custom: {
    50: '#69a87e',
    500: '#1b834c',
    950: '#000000',
  },
}
SCSS
$custom: #1b834c;
$custom-light: #69a87e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b834c",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 76
  },
  "hsl": {
    "h": 148.269,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.1251,
    "h": 154.4
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#1B834C
secondary
#B64380
accent
#3F99E9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #1B834C

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

Preview Lab → · Contrast checker → · Palette generator →

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