#1B8522#1B8522

#1B8522 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.164 H 143.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1B8522
RGBrgb(27, 133, 34)
HSLhsl(124, 66%, 31%)
HSVhsv(124, 80%, 52%)
CMYKcmyk(79.7%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.41, -48.68, 42.76)
CIE-LCHlch(48.41, 64.79, 138.71°)
OKLaboklab(53.93% -0.1318 0.0972)
OKLCHoklch(53.93% 0.164 143.6)
XYZxyz(9.1277, 17.1225, 4.3370)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8522 #851B7E
analogous
#49851B #1B8522 #1B8557
triadic
#1B8522 #221B85 #85221B
tetradic
#1B8522 #1B4985 #851B7E #85571B
square
#1B8522 #1B4985 #851B7E #85571B
split-complementary
#1B8522 #571B85 #851B49
monochromatic
#061F08 #115215 #1B8522 #25B82F #42D94C

Accessibility & contrast

On white

4.75
#1B8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1B8522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8522
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8522#FFFFFF#000000##FFFFFF
##1B85221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1b8522;
/* rgb */ color: rgb(27, 133, 34);
/* oklch */ color: oklch(53.9% 0.164 143.6);
Tailwind
colors: {
  custom: {
    50: '#6caa64',
    500: '#1b8522',
    950: '#000000',
  },
}
SCSS
$custom: #1b8522;
$custom-light: #6caa64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8522",
  "rgb": {
    "r": 27,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 123.962,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.16374,
    "h": 143.6
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#1B8522
secondary
#B844B1
accent
#3FDEE9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8522

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

Preview Lab → · Contrast checker → · Palette generator →

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