#1C7231#1C7231

#1C7231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.128 H 147.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#1C7231
RGBrgb(28, 114, 49)
HSLhsl(135, 61%, 28%)
HSVhsv(135, 75%, 45%)
CMYKcmyk(75.4%, 0%, 57%, 55.3%)
CIE-LABlab(42.00, -39.93, 28.64)
CIE-LCHlch(42.00, 49.14, 144.35°)
OKLaboklab(48.67% -0.1075 0.0686)
OKLCHoklch(48.67% 0.128 147.5)
XYZxyz(7.0501, 12.5025, 4.9468)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7231 #721C5D
analogous
#32721C #1C7231 #1C725C
triadic
#1C7231 #311C72 #72311C
tetradic
#1C7231 #1C3272 #721C5D #725C1C
square
#1C7231 #1C3272 #721C5D #725C1C
split-complementary
#1C7231 #5C1C72 #721C32
monochromatic
#06190B #10411C #1C7231 #28A346 #3ACF5E

Accessibility & contrast

On white

6.00
#1C7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1C7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7231
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7231#FFFFFF#000000##FFFFFF
##1C72311.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1c7231;
/* rgb */ color: rgb(28, 114, 49);
/* oklch */ color: oklch(48.7% 0.128 147.5);
Tailwind
colors: {
  custom: {
    50: '#669b6b',
    500: '#1c7231',
    950: '#000000',
  },
}
SCSS
$custom: #1c7231;
$custom-light: #669b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7231",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 134.651,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.12755,
    "h": 147.5
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#1C7231
secondary
#A6438E
accent
#44BDE4
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1C7231

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

Preview Lab → · Contrast checker → · Palette generator →

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