#1B8722#1B8722

#1B8722 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.166 H 143.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1B8722
RGBrgb(27, 135, 34)
HSLhsl(124, 67%, 32%)
HSVhsv(124, 80%, 53%)
CMYKcmyk(80%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.10, -49.35, 43.46)
CIE-LCHlch(49.10, 65.75, 138.63°)
OKLaboklab(54.5% -0.1336 0.0986)
OKLCHoklch(54.5% 0.166 143.6)
XYZxyz(9.4041, 17.6753, 4.4291)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8722 #871B80
analogous
#4A871B #1B8722 #1B8758
triadic
#1B8722 #221B87 #87221B
tetradic
#1B8722 #1B4A87 #871B80 #87581B
square
#1B8722 #1B4A87 #871B80 #87581B
split-complementary
#1B8722 #581B87 #871B4A
monochromatic
#072108 #115415 #1B8722 #25BA2F #43D94D

Accessibility & contrast

On white

4.63
#1B8722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1B8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8722
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8722#FFFFFF#000000##FFFFFF
##1B87221.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1b8722;
/* rgb */ color: rgb(27, 135, 34);
/* oklch */ color: oklch(54.5% 0.166 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cab64',
    500: '#1b8722',
    950: '#000000',
  },
}
SCSS
$custom: #1b8722;
$custom-light: #6cab64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8722",
  "rgb": {
    "r": 27,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 123.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.16606,
    "h": 143.6
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#1B8722
secondary
#BA44B2
accent
#3EDEEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8722

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

Preview Lab → · Contrast checker → · Palette generator →

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