#1B6822#1B6822

#1B6822 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.128 H 144.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1B6822
RGBrgb(27, 104, 34)
HSLhsl(125, 59%, 26%)
HSVhsv(125, 74%, 41%)
CMYKcmyk(74%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.28, -38.38, 31.93)
CIE-LCHlch(38.28, 49.93, 140.24°)
OKLaboklab(45.53% -0.1038 0.0744)
OKLCHoklch(45.53% 0.128 144.4)
XYZxyz(5.6907, 10.2485, 3.1913)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6822 #681B61
analogous
#3A681B #1B6822 #1B6848
triadic
#1B6822 #221B68 #68221B
tetradic
#1B6822 #1B3A68 #681B61 #68481B
square
#1B6822 #1B3A68 #681B61 #68481B
split-complementary
#1B6822 #481B68 #681B3A
monochromatic
#061808 #0E3712 #1B6822 #289932 #34C942

Accessibility & contrast

On white

6.89
#1B6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1B6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6822
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6822#FFFFFF#000000##FFFFFF
##1B68221.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#615828
Tritanopia (blue-blind)
#016559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b6822;
/* rgb */ color: rgb(27, 104, 34);
/* oklch */ color: oklch(45.5% 0.128 144.4);
Tailwind
colors: {
  custom: {
    50: '#649460',
    500: '#1b6822',
    950: '#000000',
  },
}
SCSS
$custom: #1b6822;
$custom-light: #649460;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6822",
  "rgb": {
    "r": 27,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 125.455,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.12773,
    "h": 144.4
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#1B6822
secondary
#9D4295
accent
#46D4E2
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #1B6822

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

Preview Lab → · Contrast checker → · Palette generator →

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