#1B842E#1B842E

#1B842E is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.154 H 145.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1B842E
RGBrgb(27, 132, 46)
HSLhsl(131, 66%, 31%)
HSVhsv(131, 80%, 52%)
CMYKcmyk(79.5%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.17, -47.07, 37.31)
CIE-LCHlch(48.17, 60.07, 141.60°)
OKLaboklab(53.77% -0.1269 0.0871)
OKLCHoklch(53.77% 0.154 145.5)
XYZxyz(9.1957, 16.9317, 5.3677)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B842E #841B71
analogous
#3C841B #1B842E #1B8462
triadic
#1B842E #2E1B84 #842E1B
tetradic
#1B842E #1B3C84 #841B71 #84621B
square
#1B842E #1B3C84 #841B71 #84621B
split-complementary
#1B842E #621B84 #841B3C
monochromatic
#061E0B #11511C #1B842E #25B740 #41D85D

Accessibility & contrast

On white

4.79
#1B842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1B842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B842E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B842E#FFFFFF#000000##FFFFFF
##1B842E1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b842e;
/* rgb */ color: rgb(27, 132, 46);
/* oklch */ color: oklch(53.8% 0.154 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ba96a',
    500: '#1b842e',
    950: '#000000',
  },
}
SCSS
$custom: #1b842e;
$custom-light: #6ba96a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b842e",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 130.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.15392,
    "h": 145.5
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#1B842E
secondary
#B743A2
accent
#3FCAE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1B842E

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

Preview Lab → · Contrast checker → · Palette generator →

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