#1B7422#1B7422

#1B7422 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.143 H 144.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1B7422
RGBrgb(27, 116, 34)
HSLhsl(125, 62%, 28%)
HSVhsv(125, 77%, 45%)
CMYKcmyk(76.7%, 0%, 70.7%, 54.5%)
CIE-LABlab(42.52, -42.80, 36.57)
CIE-LCHlch(42.52, 56.29, 139.49°)
OKLaboklab(49.04% -0.1158 0.0842)
OKLCHoklch(49.04% 0.143 144)
XYZxyz(6.9857, 12.8385, 3.6230)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7422 #741B6D
analogous
#40741B #1B7422 #1B744E
triadic
#1B7422 #221B74 #74221B
tetradic
#1B7422 #1B4074 #741B6D #744E1B
square
#1B7422 #1B4074 #741B6D #744E1B
split-complementary
#1B7422 #4E1B74 #741B40
monochromatic
#061907 #0F4213 #1B7422 #27A631 #39D145

Accessibility & contrast

On white

5.89
#1B7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1B7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7422
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7422#FFFFFF#000000##FFFFFF
##1B74221.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766917
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7422;
/* rgb */ color: rgb(27, 116, 34);
/* oklch */ color: oklch(49.0% 0.143 144.0);
Tailwind
colors: {
  custom: {
    50: '#679d62',
    500: '#1b7422',
    950: '#000000',
  },
}
SCSS
$custom: #1b7422;
$custom-light: #679d62;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7422",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 124.719,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.14317,
    "h": 144
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#1B7422
secondary
#A942A1
accent
#42D9E5
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1B7422

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

Preview Lab → · Contrast checker → · Palette generator →

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