#1C7B22#1C7B22

#1C7B22 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.152 H 143.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1C7B22
RGBrgb(28, 123, 34)
HSLhsl(124, 63%, 30%)
HSVhsv(124, 77%, 48%)
CMYKcmyk(77.2%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.98, -45.10, 39.19)
CIE-LCHlch(44.98, 59.75, 139.01°)
OKLaboklab(51.09% -0.1221 0.0897)
OKLCHoklch(51.09% 0.152 143.7)
XYZxyz(7.8501, 14.5274, 3.9034)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B22 #7B1C75
analogous
#467B1C #1C7B22 #1C7B51
triadic
#1C7B22 #221C7B #7B221C
tetradic
#1C7B22 #1C467B #7B1C75 #7B511C
square
#1C7B22 #1C467B #7B1C75 #7B511C
split-complementary
#1C7B22 #511C7B #7B1C46
monochromatic
#061907 #114914 #1C7B22 #27AD30 #3ED348

Accessibility & contrast

On white

5.38
#1C7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1C7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B22
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B22#FFFFFF#000000##FFFFFF
##1C7B221.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7b22;
/* rgb */ color: rgb(28, 123, 34);
/* oklch */ color: oklch(51.1% 0.152 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a262',
    500: '#1c7b22',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b22;
$custom-light: #69a262;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b22",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 123.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.15152,
    "h": 143.7
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#1C7B22
secondary
#AF44A8
accent
#42DCE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1C7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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