#1C7D24#1C7D24

#1C7D24 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.153 H 144.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1C7D24
RGBrgb(28, 125, 36)
HSLhsl(125, 63%, 30%)
HSVhsv(125, 78%, 49%)
CMYKcmyk(77.6%, 0%, 71.2%, 51%)
CIE-LABlab(45.69, -45.60, 39.09)
CIE-LCHlch(45.69, 60.06, 139.39°)
OKLaboklab(51.68% -0.1234 0.0897)
OKLCHoklch(51.68% 0.153 144)
XYZxyz(8.1304, 15.0405, 4.1433)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D24 #7D1C75
analogous
#457D1C #1C7D24 #1C7D54
triadic
#1C7D24 #241C7D #7D241C
tetradic
#1C7D24 #1C457D #7D1C75 #7D541C
square
#1C7D24 #1C457D #7D1C75 #7D541C
split-complementary
#1C7D24 #541C7D #7D1C45
monochromatic
#061907 #114B16 #1C7D24 #27AF32 #3FD44C

Accessibility & contrast

On white

5.24
#1C7D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1C7D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D24
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D24#FFFFFF#000000##FFFFFF
##1C7D241.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7117
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d24;
/* rgb */ color: rgb(28, 125, 36);
/* oklch */ color: oklch(51.7% 0.153 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa464',
    500: '#1c7d24',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d24;
$custom-light: #6aa464;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d24",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 124.948,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.15255,
    "h": 144
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#1C7D24
secondary
#B144A8
accent
#41D9E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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